/*
 Navicat Premium Data Transfer

 Source Server         : 智力云8_root
 Source Server Type    : MySQL
 Source Server Version : 80026
 Source Host           : 39.108.82.170:3308
 Source Schema         : xzmes-plus

 Target Server Type    : MySQL
 Target Server Version : 80026
 File Encoding         : 65001

 Date: 01/09/2022 12:30:06
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for cal_holiday
-- ----------------------------
DROP TABLE IF EXISTS `cal_holiday`;
CREATE TABLE `cal_holiday` (
  `holiday_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流水号',
  `the_day` datetime DEFAULT NULL COMMENT '日期',
  `holiday_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日期类型',
  `start_time` datetime DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`holiday_id`)
) ENGINE=InnoDB AUTO_INCREMENT=205 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='节假日设置';

-- ----------------------------
-- Records of cal_holiday
-- ----------------------------
BEGIN;
INSERT INTO `cal_holiday` VALUES (200, '2022-08-29 00:00:00', 'WORKDAY', '2022-08-29 00:05:37', '2022-08-29 23:05:37', '', NULL, NULL, 0, 0, '', '2022-08-29 12:05:32', '', '2022-08-29 12:05:39');
INSERT INTO `cal_holiday` VALUES (201, '2022-09-10 00:00:00', 'HOLIDAY', '2022-08-29 00:07:43', '2022-08-29 23:07:43', '', NULL, NULL, 0, 0, '', '2022-08-29 12:07:45', '', NULL);
INSERT INTO `cal_holiday` VALUES (202, '2022-08-02 00:00:00', 'HOLIDAY', '2022-08-31 00:54:42', '2022-08-31 23:54:42', '', NULL, NULL, 0, 0, '', '2022-08-31 10:54:48', '', NULL);
INSERT INTO `cal_holiday` VALUES (203, '2022-08-03 00:00:00', 'HOLIDAY', '2022-08-31 00:54:53', '2022-08-31 23:54:53', '', NULL, NULL, 0, 0, '', '2022-08-31 10:54:56', '', NULL);
INSERT INTO `cal_holiday` VALUES (204, '2022-08-04 00:00:00', 'HOLIDAY', '2022-08-31 00:54:58', '2022-08-31 23:54:58', '', NULL, NULL, 0, 0, '', '2022-08-31 10:55:01', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for cal_plan
-- ----------------------------
DROP TABLE IF EXISTS `cal_plan`;
CREATE TABLE `cal_plan` (
  `plan_id` bigint NOT NULL AUTO_INCREMENT COMMENT '计划ID',
  `plan_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '计划编号',
  `plan_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '计划名称',
  `calendar_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班组类型',
  `start_date` datetime NOT NULL COMMENT '开始日期',
  `end_date` datetime NOT NULL COMMENT '结束日期',
  `shift_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '轮班方式',
  `shift_method` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '倒班方式',
  `shift_count` int DEFAULT NULL COMMENT '数',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`plan_id`)
) ENGINE=InnoDB AUTO_INCREMENT=208 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='排班计划表';

-- ----------------------------
-- Records of cal_plan
-- ----------------------------
BEGIN;
INSERT INTO `cal_plan` VALUES (200, 'PLAN2022001', '白班', 'PL', '2022-08-29 00:00:00', '2022-08-31 00:00:00', 'SINGLE', 'MONTH', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-29 10:31:01', '', '2022-08-29 12:06:15');
INSERT INTO `cal_plan` VALUES (201, 'PLAN2022003', '两班倒', 'SC', '2022-08-29 00:00:00', '2022-09-10 00:00:00', 'SHIFT_TWO', 'MONTH', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-29 12:10:11', '', '2022-08-29 12:12:53');
INSERT INTO `cal_plan` VALUES (202, 'PLAN2022004', 'PLAN2022004', 'PG', '2022-08-01 00:00:00', '2022-08-31 00:00:00', 'SHIFT_TWO', 'WEEK', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-29 12:17:57', '', '2022-08-29 12:21:26');
INSERT INTO `cal_plan` VALUES (203, 'PLAN2022006', 'PLAN2022006', 'CK', '2022-09-01 00:00:00', '2022-09-30 00:00:00', 'SINGLE', 'DAY', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-29 13:02:00', '', '2022-08-29 13:02:40');
INSERT INTO `cal_plan` VALUES (204, 'PLAN2022007', 'PLAN2022007', 'PL', '2022-09-01 00:00:00', '2022-09-30 00:00:00', 'SHIFT_TWO', 'WEEK', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-29 13:04:39', '', '2022-08-29 13:05:10');
INSERT INTO `cal_plan` VALUES (205, 'PLAN2022009', '测试计划', 'SC', '2022-08-01 00:00:00', '2022-08-31 00:00:00', 'SHIFT_THREE', 'DAY', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-31 10:41:24', '', '2022-08-31 10:55:52');
INSERT INTO `cal_plan` VALUES (206, 'PLAN2022011', '测试计划', 'PL', '2022-09-01 00:00:00', '2022-09-10 00:00:00', 'SHIFT_TWO', 'DAY', 4, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-31 10:57:32', '', '2022-08-31 11:00:12');
INSERT INTO `cal_plan` VALUES (207, 'PLAN2022012', '测试计划03', 'PG', '2022-09-01 00:00:00', '2022-09-10 00:00:00', 'SHIFT_TWO', 'MONTH', 1, 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-31 11:02:36', '', '2022-08-31 11:03:34');
COMMIT;

-- ----------------------------
-- Table structure for cal_plan_team
-- ----------------------------
DROP TABLE IF EXISTS `cal_plan_team`;
CREATE TABLE `cal_plan_team` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流水号',
  `plan_id` bigint NOT NULL COMMENT '计划ID',
  `team_id` bigint NOT NULL COMMENT '班组ID',
  `team_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班组编号',
  `team_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班组名称',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=209 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='计划班组表';

-- ----------------------------
-- Records of cal_plan_team
-- ----------------------------
BEGIN;
INSERT INTO `cal_plan_team` VALUES (200, 200, 200, 'T001', '班组01', '', NULL, NULL, 0, 0, '', '2022-08-29 12:00:33', '', NULL);
INSERT INTO `cal_plan_team` VALUES (201, 201, 201, 'T002', '班组02', '', NULL, NULL, 0, 0, '', '2022-08-29 12:10:49', '', NULL);
INSERT INTO `cal_plan_team` VALUES (202, 202, 202, 'T003', '班组03', '', NULL, NULL, 0, 0, '', '2022-08-29 12:21:18', '', NULL);
INSERT INTO `cal_plan_team` VALUES (203, 203, 200, 'T001', '班组01', '', NULL, NULL, 0, 0, '', '2022-08-29 13:02:26', '', NULL);
INSERT INTO `cal_plan_team` VALUES (204, 204, 202, 'T003', '班组03', '', NULL, NULL, 0, 0, '', '2022-08-29 13:04:52', '', NULL);
INSERT INTO `cal_plan_team` VALUES (205, 204, 201, 'T002', '班组02', '', NULL, NULL, 0, 0, '', '2022-08-29 13:04:52', '', NULL);
INSERT INTO `cal_plan_team` VALUES (206, 206, 203, 'T004', '班组04', '', NULL, NULL, 0, 0, '', '2022-08-31 10:59:07', '', NULL);
INSERT INTO `cal_plan_team` VALUES (207, 206, 202, 'T003', '班组03', '', NULL, NULL, 0, 0, '', '2022-08-31 10:59:07', '', NULL);
INSERT INTO `cal_plan_team` VALUES (208, 207, 203, 'T004', '班组04', '', NULL, NULL, 0, 0, '', '2022-08-31 11:03:10', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for cal_shift
-- ----------------------------
DROP TABLE IF EXISTS `cal_shift`;
CREATE TABLE `cal_shift` (
  `shift_id` bigint NOT NULL AUTO_INCREMENT COMMENT '班次ID',
  `plan_id` bigint NOT NULL COMMENT '计划ID',
  `order_num` int NOT NULL COMMENT '序号',
  `shift_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '班次名称',
  `start_time` varchar(10) COLLATE utf8mb4_general_ci NOT NULL COMMENT '开始时间',
  `end_time` varchar(10) COLLATE utf8mb4_general_ci NOT NULL COMMENT '结束时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`shift_id`)
) ENGINE=InnoDB AUTO_INCREMENT=215 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='计划班次表';

-- ----------------------------
-- Records of cal_shift
-- ----------------------------
BEGIN;
INSERT INTO `cal_shift` VALUES (200, 200, 1, '白班', '8:00', '18:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (201, 201, 1, '白班', '8:00', '20:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (202, 201, 2, '夜班', '20:00', '8:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (203, 202, 1, '白班', '8:00', '20:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (204, 202, 2, '夜班', '20:00', '8:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (205, 203, 1, '白班', '8:00', '18:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (206, 204, 1, '白班', '8:00', '20:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (207, 204, 2, '夜班', '20:00', '8:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (208, 205, 1, '白班', '8:00', '16:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (209, 205, 2, '中班', '16:00', '24:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (210, 205, 3, '夜班', '00:00', '8:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (211, 206, 1, '白班', '8:00', '20:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (212, 206, 2, '夜班', '20:00', '8:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (213, 207, 1, '白班', '8:00', '20:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_shift` VALUES (214, 207, 2, '夜班', '20:00', '8:00', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for cal_team
-- ----------------------------
DROP TABLE IF EXISTS `cal_team`;
CREATE TABLE `cal_team` (
  `team_id` bigint NOT NULL AUTO_INCREMENT COMMENT '班组ID',
  `team_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '班组编号',
  `team_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '班组名称',
  `calendar_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班组类型',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`team_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='班组表';

-- ----------------------------
-- Records of cal_team
-- ----------------------------
BEGIN;
INSERT INTO `cal_team` VALUES (200, 'T001', '班组01', 'PL', '', NULL, NULL, 0, 0, '', '2022-08-29 10:35:16', '', NULL);
INSERT INTO `cal_team` VALUES (201, 'T002', '班组02', 'SC', '', NULL, NULL, 0, 0, '', '2022-08-29 12:09:38', '', '2022-08-29 12:12:32');
INSERT INTO `cal_team` VALUES (202, 'T003', '班组03', 'PG', '', NULL, NULL, 0, 0, '', '2022-08-29 12:19:12', '', NULL);
INSERT INTO `cal_team` VALUES (203, 'T004', '班组04', 'CK', '', NULL, NULL, 0, 0, '', '2022-08-31 10:40:02', '', '2022-08-31 10:40:09');
COMMIT;

-- ----------------------------
-- Table structure for cal_team_member
-- ----------------------------
DROP TABLE IF EXISTS `cal_team_member`;
CREATE TABLE `cal_team_member` (
  `member_id` bigint NOT NULL AUTO_INCREMENT COMMENT '班组成员ID',
  `team_id` bigint NOT NULL COMMENT '班组ID',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `user_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `nick_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户昵称',
  `tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电话',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`member_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='班组成员表';

-- ----------------------------
-- Records of cal_team_member
-- ----------------------------
BEGIN;
INSERT INTO `cal_team_member` VALUES (200, 200, 1, 'admin', '若依', '15888888888', '', NULL, NULL, 0, 0, '', '2022-08-29 12:00:50', '', NULL);
INSERT INTO `cal_team_member` VALUES (201, 200, 2, 'ry', '鑫正', '15666666666', '', NULL, NULL, 0, 0, '', '2022-08-29 12:00:50', '', NULL);
INSERT INTO `cal_team_member` VALUES (202, 201, 100, 'PD001', '生产员01', '', '', NULL, NULL, 0, 0, '', '2022-08-29 12:12:29', '', NULL);
INSERT INTO `cal_team_member` VALUES (203, 202, 101, 'PD002', '生产员02', '', '', NULL, NULL, 0, 0, '', '2022-08-29 12:19:18', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for cal_teamshift
-- ----------------------------
DROP TABLE IF EXISTS `cal_teamshift`;
CREATE TABLE `cal_teamshift` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流水号',
  `the_day` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '日期',
  `team_id` bigint NOT NULL COMMENT '班组ID',
  `team_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班组名称',
  `shift_id` bigint NOT NULL COMMENT '班次ID',
  `shift_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班次名称',
  `order_num` int DEFAULT NULL COMMENT '序号',
  `plan_id` bigint DEFAULT NULL COMMENT '计划ID',
  `calendar_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '班组类型',
  `shift_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '轮班方式',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=300 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='班组排班表';

-- ----------------------------
-- Records of cal_teamshift
-- ----------------------------
BEGIN;
INSERT INTO `cal_teamshift` VALUES (200, '2022-08-29', 200, '班组01', 200, '白班', NULL, 200, 'PL', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (201, '2022-08-30', 200, '班组01', 200, '白班', NULL, 200, 'PL', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (202, '2022-08-29', 201, '班组02', 201, '白班', 1, 201, 'SC', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (203, '2022-08-01', 202, '班组03', 203, '白班', 1, 202, 'PG', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (204, '2022-09-01', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (205, '2022-09-02', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (206, '2022-09-03', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (207, '2022-09-04', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (208, '2022-09-05', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (209, '2022-09-06', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (210, '2022-09-07', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (211, '2022-09-08', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (212, '2022-09-09', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (213, '2022-09-10', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (214, '2022-09-11', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (215, '2022-09-12', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (216, '2022-09-13', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (217, '2022-09-14', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (218, '2022-09-15', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (219, '2022-09-16', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (220, '2022-09-17', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (221, '2022-09-18', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (222, '2022-09-19', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (223, '2022-09-20', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (224, '2022-09-21', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (225, '2022-09-22', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (226, '2022-09-23', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (227, '2022-09-24', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (228, '2022-09-25', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (229, '2022-09-26', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (230, '2022-09-27', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (231, '2022-09-28', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (232, '2022-09-29', 200, '班组01', 205, '白班', NULL, 203, 'CK', 'SINGLE', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (233, '2022-09-01', 202, '班组03', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (234, '2022-09-01', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (235, '2022-09-02', 202, '班组03', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (236, '2022-09-02', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (237, '2022-09-03', 202, '班组03', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (238, '2022-09-03', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (239, '2022-09-04', 202, '班组03', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (240, '2022-09-04', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (241, '2022-09-05', 202, '班组03', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (242, '2022-09-05', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (243, '2022-09-06', 202, '班组03', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (244, '2022-09-06', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (245, '2022-09-07', 202, '班组03', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (246, '2022-09-07', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (247, '2022-09-08', 202, '班组03', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (248, '2022-09-08', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (249, '2022-09-09', 202, '班组03', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (250, '2022-09-09', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (251, '2022-09-10', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (252, '2022-09-10', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (253, '2022-09-11', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (254, '2022-09-11', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (255, '2022-09-12', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (256, '2022-09-12', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (257, '2022-09-13', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (258, '2022-09-13', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (259, '2022-09-14', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (260, '2022-09-14', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (261, '2022-09-15', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (262, '2022-09-15', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (263, '2022-09-16', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (264, '2022-09-16', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (265, '2022-09-17', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (266, '2022-09-17', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (267, '2022-09-18', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (268, '2022-09-18', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (269, '2022-09-19', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (270, '2022-09-19', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (271, '2022-09-20', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (272, '2022-09-20', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (273, '2022-09-21', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (274, '2022-09-21', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (275, '2022-09-22', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (276, '2022-09-22', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (277, '2022-09-23', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (278, '2022-09-23', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (279, '2022-09-24', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (280, '2022-09-24', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (281, '2022-09-25', 202, '班组03', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (282, '2022-09-25', 201, '班组02', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (283, '2022-09-26', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (284, '2022-09-26', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (285, '2022-09-27', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (286, '2022-09-27', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (287, '2022-09-28', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (288, '2022-09-28', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (289, '2022-09-29', 202, '班组03', 206, '白班', 1, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (290, '2022-09-29', 201, '班组02', 207, '夜班', 2, 204, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (291, '2022-09-01', 203, '班组04', 213, '白班', 1, 207, 'PG', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (292, '2022-09-02', 203, '班组04', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (293, '2022-09-03', 203, '班组04', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (294, '2022-09-04', 203, '班组04', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (295, '2022-09-05', 203, '班组04', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (296, '2022-09-06', 203, '班组04', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (297, '2022-09-07', 203, '班组04', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (298, '2022-09-08', 203, '班组04', 212, '夜班', 2, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
INSERT INTO `cal_teamshift` VALUES (299, '2022-09-09', 203, '班组04', 211, '白班', 1, 206, 'PL', 'SHIFT_TWO', '', NULL, NULL, 0, 0, '', NULL, '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for dv_check_machinery
-- ----------------------------
DROP TABLE IF EXISTS `dv_check_machinery`;
CREATE TABLE `dv_check_machinery` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流水号',
  `plan_id` bigint NOT NULL COMMENT '计划ID',
  `machinery_id` bigint NOT NULL COMMENT '设备ID',
  `machinery_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备编码',
  `machinery_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备名称',
  `machinery_brand` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '品牌',
  `machinery_spec` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='点检设备表';

-- ----------------------------
-- Table structure for dv_check_plan
-- ----------------------------
DROP TABLE IF EXISTS `dv_check_plan`;
CREATE TABLE `dv_check_plan` (
  `plan_id` bigint NOT NULL AUTO_INCREMENT COMMENT '计划ID',
  `plan_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '计划编码',
  `plan_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '计划名称',
  `plan_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '计划类型',
  `start_date` datetime DEFAULT NULL COMMENT '开始日期',
  `end_date` datetime DEFAULT NULL COMMENT '结束日期',
  `cycle_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '频率',
  `cycle_count` int DEFAULT NULL COMMENT '次数',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`plan_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备点检保养计划头表';

-- ----------------------------
-- Records of dv_check_plan
-- ----------------------------
BEGIN;
INSERT INTO `dv_check_plan` VALUES (200, 'PLAN2022001', '计划名称', 'CHECK', '2022-08-02 00:00:00', '2022-08-31 00:00:00', 'WEEK', 2, 'PREPARE', '', NULL, NULL, 0, 0, '', '2022-08-31 18:19:26', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for dv_check_subject
-- ----------------------------
DROP TABLE IF EXISTS `dv_check_subject`;
CREATE TABLE `dv_check_subject` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流水号',
  `plan_id` bigint NOT NULL COMMENT '计划ID',
  `subject_id` bigint NOT NULL COMMENT '项目ID',
  `subject_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目编码',
  `subject_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目名称',
  `subject_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目类型',
  `subject_content` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目内容',
  `subject_standard` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '标准',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='点检项目表';

-- ----------------------------
-- Records of dv_check_subject
-- ----------------------------
BEGIN;
INSERT INTO `dv_check_subject` VALUES (200, 200, 201, 'SUB003', '项目名称001', 'CHECK', '项目内容', '标准', '', NULL, NULL, 0, 0, '', '2022-08-31 18:20:26', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for dv_machinery
-- ----------------------------
DROP TABLE IF EXISTS `dv_machinery`;
CREATE TABLE `dv_machinery` (
  `machinery_id` bigint NOT NULL AUTO_INCREMENT COMMENT '设备类型ID',
  `machinery_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备类型编码',
  `machinery_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备类型名称',
  `machinery_brand` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '品牌',
  `machinery_spec` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `machinery_type_id` bigint NOT NULL COMMENT '设备类型ID',
  `machinery_type_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备类型编码',
  `machinery_type_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备类型名称',
  `workshop_id` bigint NOT NULL COMMENT '所属车间ID',
  `workshop_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所属车间编码',
  `workshop_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所属车间名称',
  `status` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'STOP' COMMENT '设备状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`machinery_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备表';

-- ----------------------------
-- Records of dv_machinery
-- ----------------------------
BEGIN;
INSERT INTO `dv_machinery` VALUES (200, 'M0001', '01号扫描枪', '品牌', '规格型号', 201, NULL, NULL, 202, NULL, NULL, 'STOP', '备注', NULL, NULL, 0, 0, '', '2022-08-30 19:35:56', '', '2022-08-30 19:50:52');
COMMIT;

-- ----------------------------
-- Table structure for dv_machinery_type
-- ----------------------------
DROP TABLE IF EXISTS `dv_machinery_type`;
CREATE TABLE `dv_machinery_type` (
  `machinery_type_id` bigint NOT NULL AUTO_INCREMENT COMMENT '设备类型ID',
  `machinery_type_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备类型编码',
  `machinery_type_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备类型名称',
  `parent_type_id` bigint DEFAULT '0' COMMENT '父类型ID',
  `ancestors` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所有父节点ID',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`machinery_type_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备类型表';

-- ----------------------------
-- Records of dv_machinery_type
-- ----------------------------
BEGIN;
INSERT INTO `dv_machinery_type` VALUES (200, 'M00000', '所有类型', 0, '', 'Y', '', NULL, NULL, 0, 0, '', NULL, '', '2022-08-30 21:56:59');
INSERT INTO `dv_machinery_type` VALUES (201, 'M00012', '扫描器', 200, ',200', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 19:11:31', '', '2022-08-30 19:36:32');
INSERT INTO `dv_machinery_type` VALUES (203, 'M00018', '跟类型2', 0, '', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 19:16:33', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for dv_repair
-- ----------------------------
DROP TABLE IF EXISTS `dv_repair`;
CREATE TABLE `dv_repair` (
  `repair_id` bigint NOT NULL AUTO_INCREMENT COMMENT '维修单ID',
  `repair_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '维修单编号',
  `repair_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维修单名称',
  `machinery_id` bigint NOT NULL COMMENT '设备ID',
  `machinery_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备编码',
  `machinery_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备名称',
  `machinery_brand` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '品牌',
  `machinery_spec` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `machinery_type_id` bigint NOT NULL COMMENT '设备类型ID',
  `require_date` datetime DEFAULT NULL COMMENT '报修日期',
  `finish_date` datetime DEFAULT NULL COMMENT '维修完成日期',
  `confirm_date` datetime DEFAULT NULL COMMENT '验收日期',
  `repair_result` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维修结果',
  `accepted_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维修人员',
  `confirm_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '验收人员',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`repair_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备维修单';

-- ----------------------------
-- Table structure for dv_repair_line
-- ----------------------------
DROP TABLE IF EXISTS `dv_repair_line`;
CREATE TABLE `dv_repair_line` (
  `line_id` bigint NOT NULL AUTO_INCREMENT COMMENT '行ID',
  `repair_id` bigint NOT NULL COMMENT '维修单ID',
  `subject_id` bigint NOT NULL COMMENT '项目ID',
  `subject_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目编码',
  `subject_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目名称',
  `subject_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目类型',
  `subject_content` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目内容',
  `subject_standard` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '标准',
  `malfunction` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '故障描述',
  `malfunction_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '故障描述资源',
  `repair_des` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维修情况',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备维修单行';

-- ----------------------------
-- Table structure for dv_subject
-- ----------------------------
DROP TABLE IF EXISTS `dv_subject`;
CREATE TABLE `dv_subject` (
  `subject_id` bigint NOT NULL AUTO_INCREMENT COMMENT '项目ID',
  `subject_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目编码',
  `subject_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目名称',
  `subject_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '项目类型',
  `subject_content` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目内容',
  `subject_standard` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '标准',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`subject_id`)
) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备点检保养项目表';

-- ----------------------------
-- Records of dv_subject
-- ----------------------------
BEGIN;
INSERT INTO `dv_subject` VALUES (200, 'SUB002', '项目名称', 'MAINTEN', '项目内容', NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-31 18:14:16', '', NULL);
INSERT INTO `dv_subject` VALUES (201, 'SUB003', '项目名称001', 'CHECK', '项目内容', '标准', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-31 18:20:10', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `table_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) COLLATE utf8mb4_general_ci DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `package_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '其它生成选项',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='代码生成业务表';

-- ----------------------------
-- Records of gen_table
-- ----------------------------
BEGIN;
INSERT INTO `gen_table` VALUES (1, 'wm_barcode', '条码清单表', NULL, NULL, 'WmBarcode', 'crud', 'com.ktg.mes.md', 'md', 'barcode', '条码清单', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:53', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (2, 'wm_issue_header', '生产领料单头表', NULL, NULL, 'WmIssueHeader', 'crud', 'com.ktg.mes.md', 'md', 'header', '生产领料单头', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:54', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (3, 'wm_issue_line', '生产领料单行表', NULL, NULL, 'WmIssueLine', 'crud', 'com.ktg.mes.md', 'md', 'line', '生产领料单行', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:55', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (4, 'wm_item_recpt', '物料入库单表', NULL, NULL, 'WmItemRecpt', 'crud', 'com.ktg.mes.md', 'md', 'recpt', '物料入库单', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:55', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (5, 'wm_item_recpt_line', '物料入库单行表', NULL, NULL, 'WmItemRecptLine', 'crud', 'com.ktg.mes.md', 'md', 'line', '物料入库单行', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:56', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (6, 'wm_material_stock', '库存记录表', NULL, NULL, 'WmMaterialStock', 'crud', 'com.ktg.mes.md', 'md', 'stock', '库存记录', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:57', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (7, 'wm_rt_vendor', '供应商退货表', NULL, NULL, 'WmRtVendor', 'crud', 'com.ktg.mes.md', 'md', 'vendor', '供应商退货', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:58', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (8, 'wm_storage_location', '库区表', NULL, NULL, 'WmStorageLocation', 'crud', 'com.ktg.mes.md', 'test', 'location', '库区', 'yinjinlu', '0', '/', '{}', 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:08', NULL);
INSERT INTO `gen_table` VALUES (9, 'wm_transaction', '库存事务表', NULL, NULL, 'WmTransaction', 'crud', 'com.ktg.mes.md', 'md', 'transaction', '库存事务', 'yinjinlu', '0', '/', NULL, 'admin', '2022-08-25 14:55:59', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (10, 'wm_warehouse', '仓库表', NULL, NULL, 'WmWarehouse', 'crud', 'com.ktg.mes.test', 'md', 'warehouse', '仓库', 'yinjinlu', '0', '/', '{}', 'admin', '2022-08-25 14:56:00', '', '2022-08-25 15:52:21', NULL);
INSERT INTO `gen_table` VALUES (11, 'mes_device', '设备表', NULL, NULL, 'MesDevice', 'crud', 'com.ktg.mes.device', 'md', 'device', '设备', 'byteco', '0', '/', '{}', 'admin', '2022-08-25 16:59:17', '', '2022-08-25 17:00:07', NULL);
INSERT INTO `gen_table` VALUES (12, 'sys_data_source', '多数据源', NULL, NULL, 'SysDataSource', 'crud', 'com.ktg.system', 'system', 'dataSource', '数据源', 'byteco', '0', '/', '{\"parentMenuId\":\"1\"}', 'admin', '2022-08-26 14:13:35', '', '2022-08-26 14:18:43', NULL);
INSERT INTO `gen_table` VALUES (13, 'mes_scales_order', '销售订单', 'mes_scales_order_item', 'parent_id', 'MesScalesOrder', 'sub', 'com.ktg.mes.md', 'md', 'order', '销售订单', 'byteco', '0', '/', '{\"parentMenuId\":\"2000\"}', 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49', NULL);
INSERT INTO `gen_table` VALUES (15, 'mes_scales_order_item', '销售订单产品', NULL, NULL, 'MesScalesOrderItem', 'crud', 'com.ktg.mes.md', 'md', 'item', '销售订单产品', 'byteco', '0', '/', NULL, 'admin', '2022-08-31 19:39:40', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `column_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_id` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `sort` int DEFAULT NULL COMMENT '排序',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`)
) ENGINE=InnoDB AUTO_INCREMENT=364 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='代码生成业务表字段';

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
BEGIN;
INSERT INTO `gen_table_column` VALUES (1, '1', 'barcode_id', '条码ID', 'bigint', 'Long', 'barcodeId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (2, '1', 'barcode_formart', '条码格式', 'varchar(64)', 'String', 'barcodeFormart', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (3, '1', 'barcode_type', '条码类型', 'varchar(64)', 'String', 'barcodeType', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 3, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (4, '1', 'barcode_content', '产品物料ID', 'varchar(255)', 'String', 'barcodeContent', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'editor', '', 4, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (5, '1', 'url', '条码地址', 'varchar(255)', 'String', 'url', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (6, '1', 'enable_flag', '是否生效', 'char(1)', 'String', 'enableFlag', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (7, '1', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 7, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (8, '1', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (9, '1', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (10, '1', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (11, '1', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (12, '1', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:55:53', '', NULL);
INSERT INTO `gen_table_column` VALUES (13, '1', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (14, '1', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (15, '1', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 15, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (16, '2', 'issue_id', '领料单ID', 'bigint', 'Long', 'issueId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (17, '2', 'issue_code', '领料单编号', 'varchar(64)', 'String', 'issueCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (18, '2', 'issue_name', '领料单名称', 'varchar(255)', 'String', 'issueName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (19, '2', 'workstation_id', '工作站ID', 'bigint', 'Long', 'workstationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (20, '2', 'workstation_code', '工作站编号', 'varchar(64)', 'String', 'workstationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (21, '2', 'workstation_name', '工作站名称', 'varchar(255)', 'String', 'workstationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 6, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (22, '2', 'workorder_id', '生产工单ID', 'bigint', 'Long', 'workorderId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (23, '2', 'workorder_code', '生产工单编码', 'varchar(64)', 'String', 'workorderCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (24, '2', 'task_id', '生产任务ID', 'bigint', 'Long', 'taskId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (25, '2', 'task_code', '生产任务编码', 'varchar(64)', 'String', 'taskCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (26, '2', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (27, '2', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (28, '2', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 13, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (29, '2', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (30, '2', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (31, '2', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 16, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (32, '2', 'area_id', '库位ID', 'bigint', 'Long', 'areaId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 17, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (33, '2', 'area_code', '库位编码', 'varchar(64)', 'String', 'areaCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 18, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (34, '2', 'area_name', '库位名称', 'varchar(255)', 'String', 'areaName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 19, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (35, '2', 'issue_date', '领料日期', 'datetime', 'Date', 'issueDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 20, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (36, '2', 'status', '单据状态', 'varchar(64)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 21, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (37, '2', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 22, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (38, '2', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 23, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (39, '2', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 24, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (40, '2', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 25, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (41, '2', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 26, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (42, '2', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 27, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (43, '2', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 28, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (44, '2', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 29, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (45, '2', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 30, 'admin', '2022-08-25 14:55:54', '', NULL);
INSERT INTO `gen_table_column` VALUES (46, '3', 'line_id', '行ID', 'bigint', 'Long', 'lineId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (47, '3', 'issue_id', '领料单ID', 'bigint', 'Long', 'issueId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (48, '3', 'material_stock_id', '库存ID', 'bigint', 'Long', 'materialStockId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (49, '3', 'item_id', '产品物料ID', 'bigint', 'Long', 'itemId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (50, '3', 'item_code', '产品物料编码', 'varchar(64)', 'String', 'itemCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (51, '3', 'item_name', '产品物料名称', 'varchar(255)', 'String', 'itemName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 6, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (52, '3', 'specification', '规格型号', 'varchar(500)', 'String', 'specification', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 7, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (53, '3', 'unit_of_measure', '单位', 'varchar(64)', 'String', 'unitOfMeasure', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (54, '3', 'quantity_issued', '领料数量', 'double(12,2)', 'BigDecimal', 'quantityIssued', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (55, '3', 'batch_code', '领料批次号', 'varchar(255)', 'String', 'batchCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (56, '3', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (57, '3', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (58, '3', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 13, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (59, '3', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (60, '3', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (61, '3', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 16, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (62, '3', 'area_id', '库位ID', 'bigint', 'Long', 'areaId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 17, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (63, '3', 'area_code', '库位编码', 'varchar(64)', 'String', 'areaCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 18, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (64, '3', 'area_name', '库位名称', 'varchar(255)', 'String', 'areaName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 19, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (65, '3', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 20, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (66, '3', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 21, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (67, '3', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 22, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (68, '3', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 23, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (69, '3', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 24, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (70, '3', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 25, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (71, '3', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 26, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (72, '3', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 27, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (73, '3', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 28, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (74, '4', 'recpt_id', '入库单ID', 'bigint', 'Long', 'recptId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (75, '4', 'recpt_code', '入库单编号', 'varchar(64)', 'String', 'recptCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (76, '4', 'recpt_name', '入库单名称', 'varchar(255)', 'String', 'recptName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-25 14:55:55', '', NULL);
INSERT INTO `gen_table_column` VALUES (77, '4', 'iqc_id', '来料检验单ID', 'bigint', 'Long', 'iqcId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (78, '4', 'iqc_code', '来料检验单编号', 'varchar(64)', 'String', 'iqcCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (79, '4', 'po_code', '采购订单编号', 'varchar(64)', 'String', 'poCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (80, '4', 'vendor_id', '供应商ID', 'bigint', 'Long', 'vendorId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (81, '4', 'vendor_code', '供应商编码', 'varchar(64)', 'String', 'vendorCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (82, '4', 'vendor_name', '供应商名称', 'varchar(255)', 'String', 'vendorName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 9, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (83, '4', 'vendor_nick', '供应商简称', 'varchar(255)', 'String', 'vendorNick', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (84, '4', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (85, '4', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (86, '4', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 13, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (87, '4', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (88, '4', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (89, '4', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 16, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (90, '4', 'area_id', '库位ID', 'bigint', 'Long', 'areaId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 17, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (91, '4', 'area_code', '库位编码', 'varchar(64)', 'String', 'areaCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 18, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (92, '4', 'area_name', '库位名称', 'varchar(255)', 'String', 'areaName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 19, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (93, '4', 'recpt_date', '入库日期', 'datetime', 'Date', 'recptDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 20, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (94, '4', 'status', '单据状态', 'varchar(64)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 21, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (95, '4', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 22, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (96, '4', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 23, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (97, '4', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 24, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (98, '4', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 25, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (99, '4', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 26, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (100, '4', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 27, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (101, '4', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 28, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (102, '4', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 29, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (103, '4', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 30, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (104, '5', 'line_id', '行ID', 'bigint', 'Long', 'lineId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (105, '5', 'recpt_id', '入库单ID', 'bigint', 'Long', 'recptId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (106, '5', 'item_id', '产品物料ID', 'bigint', 'Long', 'itemId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (107, '5', 'item_code', '产品物料编码', 'varchar(64)', 'String', 'itemCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (108, '5', 'item_name', '产品物料名称', 'varchar(255)', 'String', 'itemName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 5, 'admin', '2022-08-25 14:55:56', '', NULL);
INSERT INTO `gen_table_column` VALUES (109, '5', 'specification', '规格型号', 'varchar(500)', 'String', 'specification', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 6, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (110, '5', 'unit_of_measure', '单位', 'varchar(64)', 'String', 'unitOfMeasure', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (111, '5', 'quantity_recived', '入库数量', 'double(12,2)', 'BigDecimal', 'quantityRecived', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (112, '5', 'batch_code', '入库批次号', 'varchar(255)', 'String', 'batchCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (113, '5', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (114, '5', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (115, '5', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 12, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (116, '5', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (117, '5', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (118, '5', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 15, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (119, '5', 'area_id', '库位ID', 'bigint', 'Long', 'areaId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (120, '5', 'area_code', '库位编码', 'varchar(64)', 'String', 'areaCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 17, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (121, '5', 'area_name', '库位名称', 'varchar(255)', 'String', 'areaName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 18, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (122, '5', 'expire_date', '有效期', 'datetime', 'Date', 'expireDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 19, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (123, '5', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 20, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (124, '5', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 21, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (125, '5', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 22, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (126, '5', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 23, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (127, '5', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 24, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (128, '5', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 25, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (129, '5', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 26, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (130, '5', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 27, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (131, '5', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 28, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (132, '6', 'material_stock_id', '事务ID', 'bigint', 'Long', 'materialStockId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (133, '6', 'item_type_id', '物料类型ID', 'bigint', 'Long', 'itemTypeId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (134, '6', 'item_id', '产品物料ID', 'bigint', 'Long', 'itemId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (135, '6', 'item_code', '产品物料编码', 'varchar(64)', 'String', 'itemCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (136, '6', 'item_name', '产品物料名称', 'varchar(255)', 'String', 'itemName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 5, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (137, '6', 'specification', '规格型号', 'varchar(500)', 'String', 'specification', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 6, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (138, '6', 'unit_of_measure', '单位', 'varchar(64)', 'String', 'unitOfMeasure', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (139, '6', 'batch_code', '入库批次号', 'varchar(255)', 'String', 'batchCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (140, '6', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (141, '6', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (142, '6', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 11, 'admin', '2022-08-25 14:55:57', '', NULL);
INSERT INTO `gen_table_column` VALUES (143, '6', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (144, '6', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (145, '6', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 14, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (146, '6', 'area_id', '库位ID', 'bigint', 'Long', 'areaId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (147, '6', 'area_code', '库位编码', 'varchar(64)', 'String', 'areaCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (148, '6', 'area_name', '库位名称', 'varchar(255)', 'String', 'areaName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 17, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (149, '6', 'vendor_id', '供应商ID', 'bigint', 'Long', 'vendorId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 18, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (150, '6', 'vendor_code', '供应商编号', 'varchar(64)', 'String', 'vendorCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 19, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (151, '6', 'vendor_name', '供应商名称', 'varchar(255)', 'String', 'vendorName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 20, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (152, '6', 'vendor_nick', '供应商简称', 'varchar(64)', 'String', 'vendorNick', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 21, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (153, '6', 'quantity_onhand', '在库数量', 'double(12,2)', 'BigDecimal', 'quantityOnhand', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 22, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (154, '6', 'expire_date', '库存有效期', 'datetime', 'Date', 'expireDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 23, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (155, '6', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 24, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (156, '6', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 25, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (157, '6', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 26, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (158, '6', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 27, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (159, '6', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 28, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (160, '6', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 29, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (161, '6', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 30, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (162, '6', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 31, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (163, '7', 'rt_id', '退货单ID', 'bigint', 'Long', 'rtId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (164, '7', 'rt_code', '退货单编号', 'varchar(64)', 'String', 'rtCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (165, '7', 'rt_name', '退货单名称', 'varchar(255)', 'String', 'rtName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (166, '7', 'po_code', '采购订单编号', 'varchar(64)', 'String', 'poCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (167, '7', 'vendor_id', '供应商ID', 'bigint', 'Long', 'vendorId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (168, '7', 'vendor_code', '供应商编码', 'varchar(64)', 'String', 'vendorCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (169, '7', 'vendor_name', '供应商名称', 'varchar(255)', 'String', 'vendorName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 7, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (170, '7', 'vendor_nick', '供应商简称', 'varchar(255)', 'String', 'vendorNick', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (171, '7', 'batch_code', '批次号', 'varchar(255)', 'String', 'batchCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (172, '7', 'rt_date', '退货日期', 'datetime', 'Date', 'rtDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 10, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (173, '7', 'status', '单据状态', 'varchar(64)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 11, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (174, '7', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 12, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (175, '7', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (176, '7', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:58', '', NULL);
INSERT INTO `gen_table_column` VALUES (177, '7', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (178, '7', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (179, '7', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 17, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (180, '7', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 18, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (181, '7', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 19, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (182, '7', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 20, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (183, '8', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:08');
INSERT INTO `gen_table_column` VALUES (184, '8', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:08');
INSERT INTO `gen_table_column` VALUES (185, '8', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:08');
INSERT INTO `gen_table_column` VALUES (186, '8', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:08');
INSERT INTO `gen_table_column` VALUES (187, '8', 'area', '面积', 'double(12,2)', 'BigDecimal', 'area', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (188, '8', 'area_flag', '是否开启库位管理', 'char(1)', 'String', 'areaFlag', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (189, '8', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 7, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (190, '8', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (191, '8', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (192, '8', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (193, '8', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (194, '8', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (195, '8', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (196, '8', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (197, '8', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 15, 'admin', '2022-08-25 14:55:59', '', '2022-08-25 15:50:09');
INSERT INTO `gen_table_column` VALUES (198, '9', 'transaction_id', '事务ID', 'bigint', 'Long', 'transactionId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (199, '9', 'transaction_type', '事务类型', 'varchar(64)', 'String', 'transactionType', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 2, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (200, '9', 'item_id', '产品物料ID', 'bigint', 'Long', 'itemId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (201, '9', 'item_code', '产品物料编码', 'varchar(64)', 'String', 'itemCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (202, '9', 'item_name', '产品物料名称', 'varchar(255)', 'String', 'itemName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 5, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (203, '9', 'specification', '规格型号', 'varchar(500)', 'String', 'specification', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 6, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (204, '9', 'unit_of_measure', '单位', 'varchar(64)', 'String', 'unitOfMeasure', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (205, '9', 'batch_code', '入库批次号', 'varchar(255)', 'String', 'batchCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (206, '9', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:55:59', '', NULL);
INSERT INTO `gen_table_column` VALUES (207, '9', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (208, '9', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 11, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (209, '9', 'location_id', '库区ID', 'bigint', 'Long', 'locationId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (210, '9', 'location_code', '库区编码', 'varchar(64)', 'String', 'locationCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (211, '9', 'location_name', '库区名称', 'varchar(255)', 'String', 'locationName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 14, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (212, '9', 'area_id', '库位ID', 'bigint', 'Long', 'areaId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (213, '9', 'area_code', '库位编码', 'varchar(64)', 'String', 'areaCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (214, '9', 'area_name', '库位名称', 'varchar(255)', 'String', 'areaName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 17, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (215, '9', 'vendor_id', '供应商ID', 'bigint', 'Long', 'vendorId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 18, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (216, '9', 'vendor_code', '供应商编号', 'varchar(64)', 'String', 'vendorCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 19, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (217, '9', 'vendor_name', '供应商名称', 'varchar(255)', 'String', 'vendorName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 20, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (218, '9', 'vendor_nick', '供应商简称', 'varchar(64)', 'String', 'vendorNick', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 21, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (219, '9', 'source_doc_type', '单据类型', 'varchar(64)', 'String', 'sourceDocType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 22, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (220, '9', 'source_doc_id', '单据ID', 'bigint', 'Long', 'sourceDocId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 23, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (221, '9', 'source_doc_code', '单据编号', 'varchar(64)', 'String', 'sourceDocCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 24, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (222, '9', 'source_doc_line_id', '单据行ID', 'bigint', 'Long', 'sourceDocLineId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 25, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (223, '9', 'material_stock_id', '库存记录ID', 'bigint', 'Long', 'materialStockId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 26, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (224, '9', 'transaction_flag', '库存方向', 'int', 'Long', 'transactionFlag', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 27, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (225, '9', 'transaction_quantity', '事务数量', 'double(12,2)', 'BigDecimal', 'transactionQuantity', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 28, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (226, '9', 'transaction_date', '事务日期', 'datetime', 'Date', 'transactionDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 29, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (227, '9', 'related_transaction_id', '关联的事务ID', 'bigint', 'Long', 'relatedTransactionId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 30, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (228, '9', 'erp_date', 'ERP账期', 'datetime', 'Date', 'erpDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 31, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (229, '9', 'expire_date', '库存有效期', 'datetime', 'Date', 'expireDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 32, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (230, '9', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 33, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (231, '9', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 34, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (232, '9', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 35, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (233, '9', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 36, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (234, '9', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 37, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (235, '9', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 38, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (236, '9', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 39, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (237, '9', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 40, 'admin', '2022-08-25 14:56:00', '', NULL);
INSERT INTO `gen_table_column` VALUES (238, '10', 'warehouse_id', '仓库ID', 'bigint', 'Long', 'warehouseId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (239, '10', 'warehouse_code', '仓库编码', 'varchar(64)', 'String', 'warehouseCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (240, '10', 'warehouse_name', '仓库名称', 'varchar(255)', 'String', 'warehouseName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (241, '10', 'location', '位置', 'varchar(500)', 'String', 'location', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 4, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (242, '10', 'area', '面积', 'double(12,2)', 'BigDecimal', 'area', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (243, '10', 'charge', '负责人', 'varchar(64)', 'String', 'charge', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (244, '10', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 7, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (245, '10', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (246, '10', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (247, '10', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (248, '10', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (249, '10', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (250, '10', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (251, '10', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (252, '10', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 15, 'admin', '2022-08-25 14:56:01', '', '2022-08-25 15:52:21');
INSERT INTO `gen_table_column` VALUES (253, '11', 'id', NULL, 'varchar(36)', 'String', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-25 16:59:17', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (254, '11', 'create_by', '创建人', 'varchar(50)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2022-08-25 16:59:17', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (255, '11', 'create_time', '创建日期', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 3, 'admin', '2022-08-25 16:59:17', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (256, '11', 'update_by', '更新人', 'varchar(50)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 4, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (257, '11', 'update_time', '更新日期', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 5, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (258, '11', 'sys_org_code', '所属部门', 'varchar(64)', 'String', 'sysOrgCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (259, '11', 'registry_time', '激活时间', 'date', 'Date', 'registryTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 7, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (260, '11', 'code', '设备编码', 'varchar(32)', 'String', 'code', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (261, '11', 'name', '设备名称', 'varchar(32)', 'String', 'name', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 9, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (262, '11', 'classify', '分类', 'varchar(36)', 'String', 'classify', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (263, '11', 'state', '状态', 'varchar(32)', 'String', 'state', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (264, '11', 'line_position_id', '站位', 'varchar(36)', 'String', 'linePositionId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (265, '11', 'workshop_line_id', '产线', 'varchar(36)', 'String', 'workshopLineId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (266, '11', 'workshop_id', '车间', 'varchar(36)', 'String', 'workshopId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (267, '11', 'cc_type', '统一设备类型 0非扫描枪 1扫描枪', 'varchar(32)', 'String', 'ccType', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 15, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (268, '11', 'workshop_code', '车间编码', 'varchar(32)', 'String', 'workshopCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (269, '11', 'workshop_line_code', '产线编码', 'varchar(32)', 'String', 'workshopLineCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 17, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (270, '11', 'scan_type', '扫描枪类型', 'int', 'Long', 'scanType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 18, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:07');
INSERT INTO `gen_table_column` VALUES (271, '11', 'des', '设备保养说明', 'text', 'String', 'des', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 19, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:08');
INSERT INTO `gen_table_column` VALUES (272, '11', 'manual', '设备操作手册', 'text', 'String', 'manual', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 20, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:08');
INSERT INTO `gen_table_column` VALUES (273, '11', 'image', '设备图片', 'text', 'String', 'image', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'imageUpload', '', 21, 'admin', '2022-08-25 16:59:18', '', '2022-08-25 17:00:08');
INSERT INTO `gen_table_column` VALUES (274, '12', 'id', NULL, 'varchar(36)', 'String', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-26 14:13:35', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (275, '12', 'code', '数据源编码', 'varchar(100)', 'String', 'code', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-26 14:13:35', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (276, '12', 'name', '数据源名称', 'varchar(100)', 'String', 'name', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-26 14:13:35', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (277, '12', 'remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2022-08-26 14:13:35', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (278, '12', 'db_type', '数据库类型', 'varchar(10)', 'String', 'dbType', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'select', '', 5, 'admin', '2022-08-26 14:13:35', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (279, '12', 'db_driver', '驱动类', 'varchar(100)', 'String', 'dbDriver', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 6, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (280, '12', 'db_url', '数据源地址', 'varchar(500)', 'String', 'dbUrl', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 7, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (281, '12', 'db_name', '数据库名称', 'varchar(100)', 'String', 'dbName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 8, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (282, '12', 'db_username', '用户名', 'varchar(100)', 'String', 'dbUsername', '0', '0', NULL, '1', '1', '1', NULL, 'LIKE', 'input', '', 9, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (283, '12', 'db_password', '密码', 'varchar(100)', 'String', 'dbPassword', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 10, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (284, '12', 'create_by', '创建人', 'varchar(50)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (285, '12', 'create_time', '创建日期', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 12, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (286, '12', 'update_by', '更新人', 'varchar(50)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (287, '12', 'update_time', '更新日期', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 14, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (288, '12', 'sys_org_code', '所属部门', 'varchar(64)', 'String', 'sysOrgCode', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 15, 'admin', '2022-08-26 14:13:36', '', '2022-08-26 14:18:43');
INSERT INTO `gen_table_column` VALUES (289, '13', 'scales_order_id', '销售订单ID', 'bigint', 'Long', 'scalesOrderId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (290, '13', 'scales_order_code', '销售订单编码', 'varchar(64)', 'String', 'scalesOrderCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (291, '13', 'scales_order_name', '销售订单名称', 'varchar(255)', 'String', 'scalesOrderName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (292, '13', 'client_id', '客户ID', 'bigint', 'Long', 'clientId', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (293, '13', 'client_code', '客户编码', 'varchar(64)', 'String', 'clientCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (294, '13', 'client_name', '客户名称', 'varchar(255)', 'String', 'clientName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 6, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (295, '13', 'bill_status', '单据状态', 'varchar(64)', 'String', 'billStatus', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 7, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:49');
INSERT INTO `gen_table_column` VALUES (296, '13', 'order_status', '状态', 'varchar(64)', 'String', 'orderStatus', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', 'mes_scales_order_status', 8, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (297, '13', 'request_date', '期待日期', 'datetime', 'Date', 'requestDate', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'datetime', '', 9, 'admin', '2022-08-31 19:22:53', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (298, '13', 'deposit', '销售定金', 'double(14,2)', 'BigDecimal', 'deposit', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 10, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (299, '13', 'explain', '说明', 'varchar(500)', 'String', 'explainDes', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 11, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (300, '13', 'salesman', '业务员', 'varchar(500)', 'String', 'salesman', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 12, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (301, '13', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 13, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (302, '13', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 14, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (303, '13', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 15, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (304, '13', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 16, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (305, '13', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 17, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (306, '13', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 18, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (307, '13', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 19, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (308, '13', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 20, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (309, '13', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 21, 'admin', '2022-08-31 19:22:54', '', '2022-08-31 21:20:50');
INSERT INTO `gen_table_column` VALUES (337, '15', 'scales_order_item_id', '销售订单产品ID', 'bigint', 'Long', 'scalesOrderItemId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (338, '15', 'scales_order_item_code', '工单编码', 'varchar(64)', 'String', 'scalesOrderItemCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (339, '15', 'order_status', '状态', 'varchar(64)', 'String', 'orderStatus', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 3, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (340, '15', 'product_id', '产品ID', 'bigint', 'Long', 'productId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (341, '15', 'product_code', '产品编号', 'varchar(64)', 'String', 'productCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (342, '15', 'product_name', '产品名称', 'varchar(255)', 'String', 'productName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 6, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (343, '15', 'product_spc', '规格型号', 'varchar(255)', 'String', 'productSpc', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (344, '15', 'unit_of_measure', '单位', 'varchar(64)', 'String', 'unitOfMeasure', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (345, '15', 'quantity', '生产数量', 'double(14,2)', 'BigDecimal', 'quantity', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (346, '15', 'amount_money', '金额', 'double(14,2)', 'BigDecimal', 'amountMoney', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (347, '15', 'request_date', '需求日期', 'datetime', 'Date', 'requestDate', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'datetime', '', 11, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (348, '15', 'explain', '需求说明', 'varchar(500)', 'String', 'explain', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 12, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (349, '15', 'client_id', '客户ID', 'bigint', 'Long', 'clientId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (350, '15', 'client_code', '客户编码', 'varchar(64)', 'String', 'clientCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (351, '15', 'client_name', '客户名称', 'varchar(255)', 'String', 'clientName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 15, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (352, '15', 'parent_id', '父工单', 'bigint', 'Long', 'parentId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (353, '15', 'ancestors', '所有父节点ID', 'varchar(500)', 'String', 'ancestors', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'textarea', '', 17, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (354, '15', 'status', '单据状态', 'varchar(64)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 18, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (355, '15', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 19, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (356, '15', 'attr1', '预留字段1', 'varchar(64)', 'String', 'attr1', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 20, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (357, '15', 'attr2', '预留字段2', 'varchar(255)', 'String', 'attr2', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 21, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (358, '15', 'attr3', '预留字段3', 'int', 'Long', 'attr3', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 22, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (359, '15', 'attr4', '预留字段4', 'int', 'Long', 'attr4', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 23, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (360, '15', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 24, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (361, '15', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 25, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (362, '15', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 26, 'admin', '2022-08-31 19:39:41', '', NULL);
INSERT INTO `gen_table_column` VALUES (363, '15', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 27, 'admin', '2022-08-31 19:39:41', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_client
-- ----------------------------
DROP TABLE IF EXISTS `md_client`;
CREATE TABLE `md_client` (
  `client_id` bigint NOT NULL AUTO_INCREMENT COMMENT '客户ID',
  `client_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '客户编码',
  `client_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '客户名称',
  `client_nick` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户简称',
  `client_en` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户英文名称',
  `client_des` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户简介',
  `client_logo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户LOGO地址',
  `client_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'ENTERPRISE' COMMENT '客户类型',
  `address` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户地址',
  `website` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户官网地址',
  `email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户邮箱地址',
  `tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户电话',
  `contact1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人1',
  `contact1_tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人1-电话',
  `contact1_email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人1-邮箱',
  `contact2` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人2',
  `contact2_tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人2-电话',
  `contact2_email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人2-邮箱',
  `credit_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '统一社会信用代码',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`client_id`)
) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='客户表';

-- ----------------------------
-- Records of md_client
-- ----------------------------
BEGIN;
INSERT INTO `md_client` VALUES (201, 'C00034', '测试客户', '测试客户简称', 'jsh', '客户简介', 'logo', 'ENTERPRISE', '客户地址', 'https://www.baidu.com', '111111111111@qq.com', '13111111111', '联系人1', '联系人1-电话', '111111111112@qq.com', '联系人2', '联系人2-电话', '111111111112@qq.com', '111111111113@qq.com', 'Y', '111111111114@qq.com', NULL, NULL, 0, 0, '', '2022-08-31 11:47:41', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_item
-- ----------------------------
DROP TABLE IF EXISTS `md_item`;
CREATE TABLE `md_item` (
  `item_id` bigint NOT NULL AUTO_INCREMENT COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `item_or_product` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料标识',
  `item_type_id` bigint DEFAULT '0' COMMENT '物料类型ID',
  `item_type_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '物料类型编码',
  `item_type_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '物料类型名称',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `safe_stock_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'N' COMMENT '是否设置安全库存',
  `min_stock` double(12,4) DEFAULT '0.0000' COMMENT '最低库存量',
  `max_stock` double(12,4) DEFAULT '0.0000' COMMENT '最大库存量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`item_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='物料产品表';

-- ----------------------------
-- Records of md_item
-- ----------------------------
BEGIN;
INSERT INTO `md_item` VALUES (202, 'C00008', '121111', '是是是', '00', 'PRODUCT', 1, 'root', '产品分类', 'Y', 'N', 0.0000, 0.0000, '', NULL, NULL, 0, 0, 'admin', '2022-08-30 18:58:57', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_item_type
-- ----------------------------
DROP TABLE IF EXISTS `md_item_type`;
CREATE TABLE `md_item_type` (
  `item_type_id` bigint NOT NULL AUTO_INCREMENT COMMENT '产品物料类型ID',
  `item_type_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料类型编码',
  `item_type_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料类型名称',
  `parent_type_id` bigint NOT NULL DEFAULT '0' COMMENT '父类型ID',
  `ancestors` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '所有层级父节点',
  `item_or_product` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料标识',
  `order_num` int DEFAULT '1' COMMENT '排列顺序',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`item_type_id`)
) ENGINE=InnoDB AUTO_INCREMENT=508 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='物料产品分类表';

-- ----------------------------
-- Records of md_item_type
-- ----------------------------
BEGIN;
INSERT INTO `md_item_type` VALUES (1, 'root', '产品分类', 0, '', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', NULL, 'admin', '2022-08-24 11:52:20');
INSERT INTO `md_item_type` VALUES (214, '01', '成品', 1, ',1', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:34:15', '', NULL);
INSERT INTO `md_item_type` VALUES (215, '0101', '单面', 214, ',1,214', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:27', '', NULL);
INSERT INTO `md_item_type` VALUES (216, '010101', 'USR-100', 215, ',1,214,215', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:46', '', NULL);
INSERT INTO `md_item_type` VALUES (217, '01010101', '公司', 216, ',1,214,215,216', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:46', '', NULL);
INSERT INTO `md_item_type` VALUES (218, '0101010101', '通用有卤', 217, ',1,214,215,216,217', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (219, '010101010101', 'AG02系列', 218, ',1,214,215,216,217,218', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (220, '010101010102', 'AG07系列', 218, ',1,214,215,216,217,218', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (221, '010101010103', '碳油板系列', 218, ',1,214,215,216,217,218', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (222, '010101010104', '底板油', 218, ',1,214,215,216,217,218', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (223, '0101010102', '高档有卤', 217, ',1,214,215,216,217', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (224, '010101010201', 'AG03系列', 223, ',1,214,215,216,217,223', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (225, '010101010202', 'AG039系列', 223, ',1,214,215,216,217,223', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (226, '010101010203', 'AG09系列', 223, ',1,214,215,216,217,223', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (227, '010101010204', 'AY系列', 223, ',1,214,215,216,217,223', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (228, '0101010103', '高档无卤', 217, ',1,214,215,216,217', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (229, '010101010301', '无卤系列', 228, ',1,214,215,216,217,228', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (230, '0101010104', '杂色', 217, ',1,214,215,216,217', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (231, '010101010401', '蓝油', 230, ',1,214,215,216,217,230', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (232, '010101010402', '红油', 230, ',1,214,215,216,217,230', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:47', '', NULL);
INSERT INTO `md_item_type` VALUES (233, '010101010403', '棕油', 230, ',1,214,215,216,217,230', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (234, '010101010404', '橙油', 230, ',1,214,215,216,217,230', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (235, '010101010405', '无色油', 230, ',1,214,215,216,217,230', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (236, '010102', 'UMI-200', 215, ',1,214,215', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (237, '01010201', '公司', 236, ',1,214,215,236', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (238, '0101020101', 'UMI-200W无卤', 237, ',1,214,215,236,237', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (239, '010102010101', 'BW21系列', 238, ',1,214,215,236,237,238', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (240, '010102010102', 'BW22系列', 238, ',1,214,215,236,237,238', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (241, '010102010103', 'BW23系列', 238, ',1,214,215,236,237,238', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (242, '0101020102', 'UMI-200B有卤', 237, ',1,214,215,236,237', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (243, '010102010201', 'AB12系列', 242, ',1,214,215,236,237,242', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (244, '010102010202', 'BB24系列', 242, ',1,214,215,236,237,242', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', 'admin', '2022-08-31 11:44:12');
INSERT INTO `md_item_type` VALUES (245, '0101020103', 'UMI-200B无卤', 237, ',1,214,215,236,237', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (246, '010102010301', 'WRBB24系列', 245, ',1,214,215,236,237,245', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:48', '', NULL);
INSERT INTO `md_item_type` VALUES (247, '0101020104', 'UMI-200L有卤', 237, ',1,214,215,236,237', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (248, '010102010401', 'BL25', 247, ',1,214,215,236,237,247', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (249, '010103', '线路油墨', 215, ',1,214,215', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (250, '01010301', '公司', 249, ',1,214,215,249', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (251, '0101030101', 'ER-300', 250, ',1,214,215,249,250', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (252, '010103010101', 'CE30系列', 251, ',1,214,215,249,250,251', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (253, '010103010102', 'CE31系列', 251, ',1,214,215,249,250,251', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (254, '010103010103', 'CE32系列', 251, ',1,214,215,249,250,251', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (255, '0101030102', 'ER-300F', 250, ',1,214,215,249,250', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (256, '010103010201', 'CE36系列（停用）', 255, ',1,214,215,249,250,255', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (257, '010103010202', 'CE115系列', 255, ',1,214,215,249,250,255', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (258, '010103010203', 'CE117系列', 255, ',1,214,215,249,250,255', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (259, '0101030103', 'UER-320', 250, ',1,214,215,249,250', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (260, '010103010301', 'CE33系列', 259, ',1,214,215,249,250,259', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (261, '010103010302', 'CE34系列', 259, ',1,214,215,249,250,259', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:49', '', NULL);
INSERT INTO `md_item_type` VALUES (262, '0101030104', 'UER-320F', 250, ',1,214,215,249,250', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (263, '010103010401', 'CE390', 262, ',1,214,215,249,250,262', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (264, '0102', '双面', 214, ',1,214', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (265, '010201', 'XZ-160 XZ-160H', 264, ',1,214,264', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (266, '01020101', 'M系列', 265, ',1,214,264,265', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (267, '0102010101', '有卤', 266, ',1,214,264,265,266', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (268, '010201010101', 'G系列', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (269, '010201010102', 'BG系列', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (270, '010201010103', 'LG系列', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (271, '010201010104', 'LBG系列', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (272, '010201010105', '塞孔专用', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (273, '010201010106', '感光蓝油', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (274, '010201010107', '感光黑色', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (275, '010201010108', '感光杂色油', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:50', '', NULL);
INSERT INTO `md_item_type` VALUES (276, '0102010102', '无卤', 266, ',1,214,264,265,266', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (277, '010201010201', '感光无卤绿油', 276, ',1,214,264,265,266,276', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (278, '010201010202', '感光无卤蓝油', 276, ',1,214,264,265,266,276', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (279, '010201010203', '感光无卤黑色', 276, ',1,214,264,265,266,276', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (280, '010202', 'XZ-800', 264, ',1,214,264', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (281, '01020201', 'M系列', 280, ',1,214,264,280', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (282, '0102020101', '有卤', 281, ',1,214,264,280,281', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (283, '010202010101', '线路油', 282, ',1,214,264,280,281,282', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (284, '010202010102', '线路涂布油', 282, ',1,214,264,280,281,282', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (285, '010202010103', '外购', 282, ',1,214,264,280,281,282', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (286, '0103', 'KYS', 214, ',1,214', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (287, '010301', '单面XZ-700', 286, ',1,214,286', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (288, '01030101', '公司', 287, ',1,214,286,287', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (289, '0103010101', '无卤', 288, ',1,214,286,287,288', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (290, '010301010101', '紫外线油开油水', 289, ',1,214,286,287,288,289', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (291, '010301010102', '自干线路油开油水', 289, ',1,214,286,287,288,289', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:51', '', NULL);
INSERT INTO `md_item_type` VALUES (292, '010301010103', '紫外线线路油、4#紫外线油开油水', 289, ',1,214,286,287,288,289', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (293, '010302', '双面XZ-700', 286, ',1,214,286', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (294, '01030201', '公司', 293, ',1,214,286,293', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (295, '0103020101', '无卤', 294, ',1,214,286,293,294', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (296, '010302010101', '感光油开油水', 295, ',1,214,286,293,294,295', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (297, '010303', 'PCBW XZ-700', 286, ',1,214,286', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (298, '01030301', '公司', 297, ',1,214,286,297', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (299, '0103030101', '无卤', 298, ',1,214,286,297,298', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (300, '010303010101', 'PET光油开油水', 299, ',1,214,286,297,298,299', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (301, '010304', '热固XZ-700', 286, ',1,214,286', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (302, '01030401', '公司', 301, ',1,214,286,301', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (303, '0103040101', '无卤', 302, ',1,214,286,301,302', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (304, '010304010101', '热固油开油水', 303, ',1,214,286,301,302,303', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:52', '', NULL);
INSERT INTO `md_item_type` VALUES (305, '0104', 'PCBW', 214, ',1,214', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:53', '', NULL);
INSERT INTO `md_item_type` VALUES (306, '010401', '金属', 305, ',1,214,305', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:53', '', NULL);
INSERT INTO `md_item_type` VALUES (307, '01040101', '公司', 306, ',1,214,305,306', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:53', '', NULL);
INSERT INTO `md_item_type` VALUES (308, '0104010101', '有卤', 307, ',1,214,305,306,307', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:53', '', NULL);
INSERT INTO `md_item_type` VALUES (309, '010401010101', 'UV8100', 308, ',1,214,305,306,307,308', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:53', '', NULL);
INSERT INTO `md_item_type` VALUES (310, '0104010102', '无卤', 307, ',1,214,305,306,307', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 22:39:53', '', NULL);
INSERT INTO `md_item_type` VALUES (311, '010402', '玻璃', 305, ',1,214,305', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (312, '01040201', '公司', 311, ',1,214,305,311', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (313, '0104020101', '有卤', 312, ',1,214,305,311,312', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (314, '010402010101', 'BL', 313, ',1,214,305,311,312,313', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (315, '010403', '处理剂', 305, ',1,214,305', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (316, '01040301', '公司', 315, ',1,214,305,315', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (317, '0104030101', '线路板厂用', 316, ',1,214,305,315,316', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (318, '010403010101', '水处理剂', 317, ',1,214,305,315,316,317', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (319, '0105', '外购', 214, ',1,214', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (320, '010501', '线路厂用', 319, ',1,214,319', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (321, '01050101', '公司', 320, ',1,214,319,320', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:06', '', NULL);
INSERT INTO `md_item_type` VALUES (322, '0105010101', '热固', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (323, '010501010101', '防焊', 322, ',1,214,319,320,321,322', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (324, '010501010102', '文字', 322, ',1,214,319,320,321,322', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (325, '0105010102', '感光防焊', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (326, '010501010201', '白油', 325, ',1,214,319,320,321,325', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (327, '0105010103', '感光线路油', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (328, '010501010301', '线路油', 327, ',1,214,319,320,321,327', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (329, '0105010104', '导电碳油', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (330, '0105010105', '可剥蓝胶', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (331, '0105010106', '抗电镀黑油', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (332, '02', '半成品', 1, ',1', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (333, '0201', '合成半成品', 332, ',1,332', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (334, '020101', '单面', 333, ',1,332,333', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (335, '02010101', '公司', 334, ',1,332,333,334', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (336, '0201010101', '绿油树脂', 335, ',1,332,333,334,335', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (337, '0201010102', '线路油树脂', 335, ',1,332,333,334,335', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (338, '020102', '双面', 333, ',1,332,333', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (339, '02010201', '公司', 338, ',1,332,333,338', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:07', '', NULL);
INSERT INTO `md_item_type` VALUES (340, '0201020101', '防焊油树脂', 339, ',1,332,333,338,339', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (341, '0201020102', '固化剂树脂', 339, ',1,332,333,338,339', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (342, '0201020103', '线路油树脂', 339, ',1,332,333,338,339', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (343, '0202', '色浆', 332, ',1,332', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (344, '0203', '配料半成品', 332, ',1,332', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (345, '0204', '双面', 332, ',1,332', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (346, '020401', 'XZ-160', 345, ',1,332,345', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (347, '02040101', 'M系列', 346, ',1,332,345,346', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (348, '0204010101', '有卤', 347, ',1,332,345,346,347', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (349, '020401010101', 'G系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (350, '020401010102', 'BG系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (351, '020401010103', 'LG系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (352, '020401010104', 'LBG系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (353, '020401010105', '塞孔专用', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (354, '020401010106', '蓝色系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (355, '020401010107', '黑色系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (356, '020401010108', '杂色', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (357, '0204010102', '无卤', 347, ',1,332,345,346,347', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (358, '020401010201', '感光无卤绿色', 357, ',1,332,345,346,347,357', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:08', '', NULL);
INSERT INTO `md_item_type` VALUES (359, '020401010202', '感光无卤蓝色', 357, ',1,332,345,346,347,357', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (360, '020401010203', '感光无卤黑色', 357, ',1,332,345,346,347,357', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (361, '020402', 'XZ-160H', 345, ',1,332,345', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (362, '02040201', 'M系列', 361, ',1,332,345,361', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (363, '0204020101', '有卤', 362, ',1,332,345,361,362', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (364, '020402010101', 'H1', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (365, '020402010102', 'H2', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (366, '020402010103', 'HPD', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (367, '0204020102', '无卤', 362, ',1,332,345,361,362', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (368, '020402010201', 'HW', 367, ',1,332,345,361,362,367', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (369, '04', '辅助材料', 1, ',1', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (370, '0401', '包装材料', 369, ',1,369', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (371, '040101', '包装桶', 370, ',1,369,370', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (372, '04010101', '5kg黑色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (373, '020402010104', 'H6', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (374, '010101010105', 'AG08系列', 218, ',1,214,215,216,217,218', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (375, '04010107', '18L五卡涂白圆罐', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (376, '04010102', '1kg黑色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:09', '', NULL);
INSERT INTO `md_item_type` VALUES (377, '04010103', '300g黑色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (378, '04010104', '5kg灰色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (379, '04010105', '20kg白色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (380, '04010106', '500g黑色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (381, '040102', '包装箱', 370, ',1,369,370', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (382, '04010201', '10kg纸箱', 381, ',1,369,370,381', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (383, '04010202', '20kg纸箱', 381, ',1,369,370,381', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (384, '040103', '标签', 370, ',1,369,370', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (385, '03', '原材料', 1, ',1', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (386, '010404', 'PET', 305, ',1,214,305', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (387, '01040401', '公司', 386, ',1,214,305,386', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (388, '0104040101', '有卤', 387, ',1,214,305,386,387', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (389, '010404010101', '光油', 388, ',1,214,305,386,387,388', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (390, '0303', '粉末', 385, ',1,385', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (391, '0304', '颜料', 385, ',1,385', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (392, '0305', '助剂', 385, ',1,385', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (393, '030301', '光敏剂GM', 390, ',1,385,390', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (394, '030302', '填料TL', 390, ',1,385,390', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:10', '', NULL);
INSERT INTO `md_item_type` VALUES (395, '030401', '通用颜料TYYL', 391, ',1,385,391', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (396, '020201', '双面', 343, ',1,332,343', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (397, '02020101', '感光', 396, ',1,332,343,396', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (398, '0202010101', '有卤', 397, ',1,332,343,396,397', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (399, '010501010401', '导电碳油', 329, ',1,214,319,320,321,329', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (400, '010401010102', 'IR8000', 308, ',1,214,305,306,307,308', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (401, '030402', '无卤颜料WLYL', 391, ',1,385,391', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (402, '030501', 'ZJ', 392, ',1,385,392', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (403, '0202010102', '无卤', 397, ',1,332,343,396,397', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (404, '020301', 'A', 344, ',1,332,344', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (405, '010501010601', '抗电镀黑油', 331, ',1,214,319,320,321,331', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (406, '02030101', 'B', 404, ',1,332,344,404', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (407, '0203010101', 'C', 406, ',1,332,344,404,406', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (408, '010501010501', '可剥蓝胶', 330, ',1,214,319,320,321,330', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (409, '0402', '其他', 369, ',1,369', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (410, '010502', '外购设备', 319, ',1,214,319', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (411, '010401010103', 'PH8200', 308, ',1,214,305,306,307,308', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (412, '0105010107', '设备', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (413, '04010108', '6kg黑色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:11', '', NULL);
INSERT INTO `md_item_type` VALUES (414, '010101010406', '防焊白油', 230, ',1,214,215,216,217,230', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (415, '020402010105', 'H10', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (416, '020402010106', 'H11', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (417, '05', '在制品', 1, ',1', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (418, '0501', 'USR-100在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (419, '050101', 'USR-100有卤在制品', 418, ',1,417,418', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (420, '050102', 'USR-100无卤在制品', 418, ',1,417,418', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (421, '0502', 'UMI-200在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (422, '050201', 'UMI-200有卤在制品', 421, ',1,417,421', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (423, '050202', 'UMI-200无卤在制品', 421, ',1,417,421', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (424, '0503', 'ER在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (425, '0504', 'UER在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (426, '0505', 'XZ-160在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (427, '0506', 'XZ-800在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (428, '050501', 'XZ-160有卤在制品', 426, ',1,417,426', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (429, '050502', 'XZ-160无卤在制品', 426, ',1,417,426', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (430, '0101010105', '喷涂', 217, ',1,214,215,216,217', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (431, '010101010501', 'PG01系列', 430, ',1,214,215,216,217,430', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (432, '010201010109', '感光白油', 267, ',1,214,264,265,266,267', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:12', '', NULL);
INSERT INTO `md_item_type` VALUES (433, '010501010701', 'SB', 412, ',1,214,319,320,321,412', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (434, '06', '样品', 1, ',1', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (435, '0601', '单面样品', 434, ',1,434', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (436, '020402010107', 'H20', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (437, '020401010109', '白色系列', 348, ',1,332,345,346,347,348', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (438, '010201010204', '感光无卤无硫白油', 276, ',1,214,264,265,266,276', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (439, '020401010204', '感光无卤白油', 357, ',1,332,345,346,347,357', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (440, '01020102', 'NX系列', 265, ',1,214,264,265', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (441, '0102010201', '有卤', 440, ',1,214,264,265,440', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (442, '0102010202', '无卤', 440, ',1,214,264,265,440', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (443, '010201020201', '绿油', 442, ',1,214,264,265,440,442', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (444, '010201020202', '蓝油', 442, ',1,214,264,265,440,442', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (445, '010201020203', '黑色', 442, ',1,214,264,265,440,442', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (446, '010201020204', '白色', 442, ',1,214,264,265,440,442', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (447, '010201020101', '绿油', 441, ',1,214,264,265,440,441', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (448, '010201020102', '蓝油', 441, ',1,214,264,265,440,441', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (449, '020401010205', '无卤无硫白油', 357, ',1,332,345,346,347,357', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (450, '02040202', 'NX系列', 361, ',1,332,345,361', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:13', '', NULL);
INSERT INTO `md_item_type` VALUES (451, '0204020201', '有卤', 450, ',1,332,345,361,450', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (452, '0204020202', '无卤', 450, ',1,332,345,361,450', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (453, '0204020203', '无卤无硫', 450, ',1,332,345,361,450', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (454, '0101010106', 'LED固化', 217, ',1,214,215,216,217', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (455, '010102010104', 'LED固化白油', 238, ',1,214,215,236,237,238', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (456, '010102010203', 'LED固化黑油', 242, ',1,214,215,236,237,242', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (457, '010103010303', 'LED固化酸油', 259, ',1,214,215,249,250,259', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (458, '010103010402', 'LED固化碱油', 262, ',1,214,215,249,250,262', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (459, '010101010601', 'LED固化01', 454, ',1,214,215,216,217,454', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (460, '04010203', '样品箱', 381, ',1,369,370,381', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (461, '020402010108', '塞孔专用固化剂', 363, ',1,332,345,361,362,363', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (462, '010201020103', '黑油', 441, ',1,214,264,265,440,441', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (463, '010201020104', '白油', 441, ',1,214,264,265,440,441', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (464, '020202', '单面', 343, ',1,332,343', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (465, '02020201', 'UV绿油', 464, ',1,332,343,464', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (466, '0202020101', '有卤', 465, ',1,332,343,464,465', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (467, '0105010108', '材料', 321, ',1,214,319,320,321', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (468, '010501010801', '树脂', 467, ',1,214,319,320,321,467', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:14', '', NULL);
INSERT INTO `md_item_type` VALUES (469, '010501010802', '单体', 467, ',1,214,319,320,321,467', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (470, '010501010803', '助剂', 467, ',1,214,319,320,321,467', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (471, '04010109', '20L黑色桶', 371, ',1,369,370,371', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (472, '010102010302', 'WRAB12系列', 245, ',1,214,215,236,237,245', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (473, '010101010106', 'AG05系列', 218, ',1,214,215,216,217,218', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (474, '0507', '色浆在制品', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (475, '0508', '开油水', 417, ',1,417', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (476, '010401010201', '保护光油', 310, ',1,214,305,306,307,310', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (477, '02020202', 'UV线路', 464, ',1,332,343,464', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (478, '0202020201', '有卤', 477, ',1,332,343,464,477', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (479, '0306', '外协', 385, ',1,385', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (480, '030601', '外协材料', 479, ',1,385,479', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (481, '030602', '外协树脂', 479, ',1,385,479', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (482, '010103010304', 'CE36系列', 259, ',1,214,215,249,250,259', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (483, '010203', 'ZSR-900', 264, ',1,214,264', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (484, '01020301', '热固防焊油墨', 483, ',1,214,264,483', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (485, '0102030101', '有卤', 484, ',1,214,264,483,484', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (486, '010203010101', '绿色', 485, ',1,214,264,483,484,485', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (487, '020403', 'ZSR-900', 345, ',1,332,345', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:15', '', NULL);
INSERT INTO `md_item_type` VALUES (488, '02040301', '热固防焊油墨主剂', 487, ',1,332,345,487', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (489, '0204030101', '有卤', 488, ',1,332,345,487,488', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (490, '020403010101', '绿色', 489, ',1,332,345,487,488,489', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (491, '020401010206', '感光无卤杂色', 357, ',1,332,345,346,347,357', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (492, '010201010205', '感光无卤杂色油', 276, ',1,214,264,265,266,276', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (493, '010101010205', 'Test01', 223, ',1,214,215,216,217,223', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (494, '010104', 'test02', 215, ',1,214,215', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (495, '01010401', 'test0201', 494, ',1,214,215,494', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:51:16', '', NULL);
INSERT INTO `md_item_type` VALUES (496, '0301', '单体 溶剂', 385, ',1,385', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:04', '', NULL);
INSERT INTO `md_item_type` VALUES (497, '0302', '树脂', 385, ',1,385', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:05', '', NULL);
INSERT INTO `md_item_type` VALUES (498, '030101', 'RJ', 496, ',1,385,496', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:06', '', NULL);
INSERT INTO `md_item_type` VALUES (499, '030102', 'DT', 496, ',1,385,496', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:07', '', NULL);
INSERT INTO `md_item_type` VALUES (500, '030201', '线路树脂 XLSZ', 497, ',1,385,497', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:07', '', NULL);
INSERT INTO `md_item_type` VALUES (501, '030202', 'UV树脂 UVSZ', 497, ',1,385,497', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:07', '', NULL);
INSERT INTO `md_item_type` VALUES (502, '030203', '感光树脂 GGSZ', 497, ',1,385,497', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:07', '', NULL);
INSERT INTO `md_item_type` VALUES (503, '0602', '双面样品', 434, ',1,434', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:08', '', NULL);
INSERT INTO `md_item_type` VALUES (504, '0603', '开油水', 434, ',1,434', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:08', '', NULL);
INSERT INTO `md_item_type` VALUES (505, '0604', 'PCBW', 434, ',1,434', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:08', '', NULL);
INSERT INTO `md_item_type` VALUES (506, '0605', '外购', 434, ',1,434', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:08', '', NULL);
INSERT INTO `md_item_type` VALUES (507, '0606', '其他', 434, ',1,434', 'PRODUCT', 1, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 23:52:08', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_product_bom
-- ----------------------------
DROP TABLE IF EXISTS `md_product_bom`;
CREATE TABLE `md_product_bom` (
  `bom_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流水号',
  `item_id` bigint NOT NULL COMMENT '物料产品ID',
  `bom_item_id` bigint NOT NULL COMMENT 'BOM物料ID',
  `bom_item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOM物料编码',
  `bom_item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOM物料名称',
  `bom_item_spec` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'BOM物料规格',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOM物料单位',
  `item_or_product` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料标识',
  `quantity` double(12,4) NOT NULL DEFAULT '0.0000' COMMENT '物料使用比例',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`bom_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='产品BOM关系表';

-- ----------------------------
-- Records of md_product_bom
-- ----------------------------
BEGIN;
INSERT INTO `md_product_bom` VALUES (202, 200, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 12:19:21', '', NULL);
INSERT INTO `md_product_bom` VALUES (203, 201, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 12:19:45', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_product_sop
-- ----------------------------
DROP TABLE IF EXISTS `md_product_sop`;
CREATE TABLE `md_product_sop` (
  `sop_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `item_id` bigint NOT NULL COMMENT '物料产品ID',
  `order_num` int DEFAULT NULL COMMENT '排列顺序',
  `process_id` bigint DEFAULT NULL COMMENT '对应的工序',
  `process_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序编号',
  `process_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序名称',
  `sop_title` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '标题',
  `sop_description` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '详细描述',
  `sop_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '图片地址',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`sop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='产品SOP表';

-- ----------------------------
-- Records of md_product_sop
-- ----------------------------
BEGIN;
INSERT INTO `md_product_sop` VALUES (200, 202, 1, 202, NULL, NULL, '111', '111', NULL, '', NULL, NULL, 0, 0, '', '2022-09-01 11:41:11', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_unit_measure
-- ----------------------------
DROP TABLE IF EXISTS `md_unit_measure`;
CREATE TABLE `md_unit_measure` (
  `measure_id` bigint NOT NULL AUTO_INCREMENT COMMENT '单位ID',
  `measure_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位编码',
  `measure_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位名称',
  `primary_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否是主单位',
  `primary_id` bigint DEFAULT NULL COMMENT '主单位ID',
  `change_rate` double(12,4) DEFAULT NULL COMMENT '与主单位换算比例',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `pubufts` bigint NOT NULL DEFAULT '0' COMMENT 'ERP数据变更标识',
  PRIMARY KEY (`measure_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=584 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='单位表';

-- ----------------------------
-- Records of md_unit_measure
-- ----------------------------
BEGIN;
INSERT INTO `md_unit_measure` VALUES (514, '00', 'KG', 'Y', NULL, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:09:43', '', NULL, 11001);
INSERT INTO `md_unit_measure` VALUES (515, '01', '个', 'Y', NULL, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:09:43', '', NULL, 11002);
INSERT INTO `md_unit_measure` VALUES (516, '0101', 'kg', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:09:43', '', NULL, 11003);
INSERT INTO `md_unit_measure` VALUES (517, '0102', '桶', 'N', 516, 0.1000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:09:57', '', NULL, 11004);
INSERT INTO `md_unit_measure` VALUES (518, '01501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:09:57', '', NULL, 11005);
INSERT INTO `md_unit_measure` VALUES (519, '01502', '桶', 'N', 518, 0.1500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:03', '', NULL, 11006);
INSERT INTO `md_unit_measure` VALUES (520, '02', '张', 'Y', NULL, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:03', '', NULL, 11007);
INSERT INTO `md_unit_measure` VALUES (521, '0201', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:03', '', NULL, 11009);
INSERT INTO `md_unit_measure` VALUES (522, '0202', '桶', 'N', 521, 0.2000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:04', '', NULL, 11010);
INSERT INTO `md_unit_measure` VALUES (523, '02501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:04', '', NULL, 11011);
INSERT INTO `md_unit_measure` VALUES (524, '02502', '桶', 'N', 523, 0.2500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:05', '', NULL, 11012);
INSERT INTO `md_unit_measure` VALUES (525, '03', '套', 'Y', NULL, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:05', '', NULL, 11013);
INSERT INTO `md_unit_measure` VALUES (526, '0301', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:05', '', NULL, 11014);
INSERT INTO `md_unit_measure` VALUES (527, '0302', '公斤', 'N', 526, 0.3000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:06', '', NULL, 11015);
INSERT INTO `md_unit_measure` VALUES (528, '04', '台', 'Y', NULL, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:06', '', NULL, 11016);
INSERT INTO `md_unit_measure` VALUES (529, '0501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:06', '', NULL, 11017);
INSERT INTO `md_unit_measure` VALUES (530, '0502', '桶', 'N', 529, 0.5000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:08', '', NULL, 11018);
INSERT INTO `md_unit_measure` VALUES (531, '07501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:08', '', NULL, 11019);
INSERT INTO `md_unit_measure` VALUES (532, '07502', '桶', 'N', 531, 0.7500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:08', '', NULL, 11020);
INSERT INTO `md_unit_measure` VALUES (533, '0801', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:08', '', NULL, 11021);
INSERT INTO `md_unit_measure` VALUES (534, '0802', '桶', 'N', 533, 0.8000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11022);
INSERT INTO `md_unit_measure` VALUES (535, '08501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11023);
INSERT INTO `md_unit_measure` VALUES (536, '08502', '桶', 'N', 535, 0.8500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11024);
INSERT INTO `md_unit_measure` VALUES (537, '0901', 'kg', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11025);
INSERT INTO `md_unit_measure` VALUES (538, '0902', '桶', 'N', 537, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11026);
INSERT INTO `md_unit_measure` VALUES (539, '101', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11027);
INSERT INTO `md_unit_measure` VALUES (540, '102', '桶', 'N', 539, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11028);
INSERT INTO `md_unit_measure` VALUES (541, '12501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11029);
INSERT INTO `md_unit_measure` VALUES (542, '12502', '桶', 'N', 541, 1.2500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11030);
INSERT INTO `md_unit_measure` VALUES (543, '1601', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11031);
INSERT INTO `md_unit_measure` VALUES (544, '1602', '桶', 'N', 543, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11032);
INSERT INTO `md_unit_measure` VALUES (545, '18001', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11033);
INSERT INTO `md_unit_measure` VALUES (546, '18002', '桶', 'N', 545, 180.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:09', '', NULL, 11034);
INSERT INTO `md_unit_measure` VALUES (547, '1801', 'L', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11035);
INSERT INTO `md_unit_measure` VALUES (548, '1802', '桶', 'N', 547, 18.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11036);
INSERT INTO `md_unit_measure` VALUES (549, '18K01', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11037);
INSERT INTO `md_unit_measure` VALUES (550, '18K02', '桶', 'N', 549, 18.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11038);
INSERT INTO `md_unit_measure` VALUES (551, '2001', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11039);
INSERT INTO `md_unit_measure` VALUES (552, '2002', '桶', 'N', 551, 20.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11040);
INSERT INTO `md_unit_measure` VALUES (553, '23001', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11041);
INSERT INTO `md_unit_measure` VALUES (554, '23002', '桶', 'N', 553, 230.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11042);
INSERT INTO `md_unit_measure` VALUES (555, '2501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11043);
INSERT INTO `md_unit_measure` VALUES (556, '2502', '桶', 'N', 555, 25.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11044);
INSERT INTO `md_unit_measure` VALUES (557, '301', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11045);
INSERT INTO `md_unit_measure` VALUES (558, '302', '桶', 'N', 557, 3.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11046);
INSERT INTO `md_unit_measure` VALUES (559, '37501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:10', '', NULL, 11047);
INSERT INTO `md_unit_measure` VALUES (560, '37502', '桶', 'N', 559, 3.7500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11048);
INSERT INTO `md_unit_measure` VALUES (561, '401', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11049);
INSERT INTO `md_unit_measure` VALUES (562, '402', '桶', 'N', 561, 4.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11050);
INSERT INTO `md_unit_measure` VALUES (563, '42501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11051);
INSERT INTO `md_unit_measure` VALUES (564, '42502', '桶', 'N', 563, 4.2500, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11052);
INSERT INTO `md_unit_measure` VALUES (565, '4501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11053);
INSERT INTO `md_unit_measure` VALUES (566, '4502', '桶', 'N', 565, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11054);
INSERT INTO `md_unit_measure` VALUES (567, '501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11055);
INSERT INTO `md_unit_measure` VALUES (568, '502', '桶', 'N', 567, 5.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11056);
INSERT INTO `md_unit_measure` VALUES (569, 'T101', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11057);
INSERT INTO `md_unit_measure` VALUES (570, 'T102', '套', 'N', 569, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11058);
INSERT INTO `md_unit_measure` VALUES (571, 'T1101', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:11', '', NULL, 11059);
INSERT INTO `md_unit_measure` VALUES (572, 'T1102', '套', 'N', 571, 1.1000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11060);
INSERT INTO `md_unit_measure` VALUES (573, 'T2001', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11061);
INSERT INTO `md_unit_measure` VALUES (574, 'T2002', '套', 'N', 573, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11062);
INSERT INTO `md_unit_measure` VALUES (575, 'T401', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11063);
INSERT INTO `md_unit_measure` VALUES (576, 'T402', '套', 'N', 575, 4.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11064);
INSERT INTO `md_unit_measure` VALUES (577, 'T501', 'KG', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11065);
INSERT INTO `md_unit_measure` VALUES (578, 'T502', '套', 'N', 577, 5.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:12', '', NULL, 11066);
INSERT INTO `md_unit_measure` VALUES (579, 'T602', '套', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:14', '', NULL, 11068);
INSERT INTO `md_unit_measure` VALUES (580, 'T601', 'KG', 'N', 579, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:24', '', NULL, 11067);
INSERT INTO `md_unit_measure` VALUES (581, 'test0101', 'kg', 'Y', NULL, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:24', '', NULL, 11069);
INSERT INTO `md_unit_measure` VALUES (582, 'test0102', 'tong', 'N', 581, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:24', '', NULL, 11070);
INSERT INTO `md_unit_measure` VALUES (583, 'test0103', 'g', 'N', 581, 1.0000, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-30 15:10:24', '', NULL, 11071);
COMMIT;

-- ----------------------------
-- Table structure for md_vendor
-- ----------------------------
DROP TABLE IF EXISTS `md_vendor`;
CREATE TABLE `md_vendor` (
  `vendor_id` bigint NOT NULL AUTO_INCREMENT COMMENT '供应商ID',
  `vendor_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '供应商编码',
  `vendor_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '供应商名称',
  `vendor_nick` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简称',
  `vendor_en` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商英文名称',
  `vendor_des` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简介',
  `vendor_logo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商LOGO地址',
  `vendor_level` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商等级',
  `vendor_score` int DEFAULT NULL COMMENT '供应商评分',
  `address` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商地址',
  `website` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商官网地址',
  `email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商邮箱地址',
  `tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商电话',
  `contact1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人1',
  `contact1_tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人1-电话',
  `contact1_email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人1-邮箱',
  `contact2` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人2',
  `contact2_tel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人2-电话',
  `contact2_email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人2-邮箱',
  `credit_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '统一社会信用代码',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`vendor_id`)
) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='供应商表';

-- ----------------------------
-- Records of md_vendor
-- ----------------------------
BEGIN;
INSERT INTO `md_vendor` VALUES (201, 'V00001', '供应商名称', '供应商简称', '供应商英文名称', '供应商简介', '供应商LOGO地址', 'B', 98, '供应商地址', '供应商官网地址', '供应商邮箱地址', '供应商电话', '联系人1', '联系人1-电话', '联系人1-邮箱', '联系人2', '联系人2-电话', '联系人2-邮箱', '统一社会信用代码', 'Y', '备注', NULL, NULL, 0, 0, '', '2022-08-31 11:56:01', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_workshop
-- ----------------------------
DROP TABLE IF EXISTS `md_workshop`;
CREATE TABLE `md_workshop` (
  `workshop_id` bigint NOT NULL AUTO_INCREMENT COMMENT '车间ID',
  `workshop_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '车间编码',
  `workshop_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '车间名称',
  `area` double(12,2) DEFAULT NULL COMMENT '面积',
  `charge` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`workshop_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='车间表';

-- ----------------------------
-- Records of md_workshop
-- ----------------------------
BEGIN;
INSERT INTO `md_workshop` VALUES (200, 'YM001', '研磨车间', 100.00, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 11:24:37', '', NULL);
INSERT INTO `md_workshop` VALUES (201, 'PL001', '配料车间', 100.00, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 11:24:58', '', NULL);
INSERT INTO `md_workshop` VALUES (202, 'YJ001', '溶解车间', 0.00, NULL, 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 11:25:19', '', NULL);
INSERT INTO `md_workshop` VALUES (203, 'WS002', '测试车间', 100.00, '测试负责人', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-31 12:11:28', '', '2022-08-31 12:11:39');
COMMIT;

-- ----------------------------
-- Table structure for md_workstation
-- ----------------------------
DROP TABLE IF EXISTS `md_workstation`;
CREATE TABLE `md_workstation` (
  `workstation_id` bigint NOT NULL AUTO_INCREMENT COMMENT '工作站ID',
  `workstation_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工作站编码',
  `workstation_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工作站名称',
  `workstation_address` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站地点',
  `workshop_id` bigint DEFAULT NULL COMMENT '所在车间ID',
  `workshop_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所在车间编码',
  `workshop_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所在车间名称',
  `process_id` bigint DEFAULT NULL COMMENT '工序ID',
  `process_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序编码',
  `process_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序名称',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`workstation_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工作站表';

-- ----------------------------
-- Records of md_workstation
-- ----------------------------
BEGIN;
INSERT INTO `md_workstation` VALUES (200, 'WS001', '配料站', '配料车间01室', 201, 'PL001', '配料车间', 200, 'GX001', '配料工序', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 11:35:08', '', '2022-08-28 10:52:45');
INSERT INTO `md_workstation` VALUES (201, 'WS002', '分散工作站', '研磨车间01', 200, 'YM001', '研磨车间', 201, 'GX002', '分散工序', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 12:36:59', '', NULL);
INSERT INTO `md_workstation` VALUES (202, 'WS0001', '配料站02', '配料站02', 201, 'PL001', '配料车间', 200, 'GX001', '配料工序', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-28 10:51:58', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for md_workstation_machine
-- ----------------------------
DROP TABLE IF EXISTS `md_workstation_machine`;
CREATE TABLE `md_workstation_machine` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `machinery_id` bigint NOT NULL COMMENT '设备ID',
  `machinery_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备编码',
  `machinery_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备名称',
  `quantity` int DEFAULT '1' COMMENT '数量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备资源表';

-- ----------------------------
-- Records of md_workstation_machine
-- ----------------------------
BEGIN;
INSERT INTO `md_workstation_machine` VALUES (200, 202, 200, 'M0001', '01号扫描枪', 1, '备注', NULL, NULL, 0, 0, '', '2022-08-31 12:14:18', '', '2022-08-30 19:50:52');
COMMIT;

-- ----------------------------
-- Table structure for md_workstation_tool
-- ----------------------------
DROP TABLE IF EXISTS `md_workstation_tool`;
CREATE TABLE `md_workstation_tool` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `tool_type_id` bigint NOT NULL COMMENT '工装夹具类型ID',
  `tool_type_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '类型编码',
  `tool_type_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '类型名称',
  `quantity` int NOT NULL DEFAULT '1' COMMENT '数量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工装夹具资源表';

-- ----------------------------
-- Table structure for md_workstation_worker
-- ----------------------------
DROP TABLE IF EXISTS `md_workstation_worker`;
CREATE TABLE `md_workstation_worker` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  `post_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '岗位编码',
  `post_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '岗位名称',
  `quantity` int NOT NULL DEFAULT '1' COMMENT '数量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='人力资源表';

-- ----------------------------
-- Records of md_workstation_worker
-- ----------------------------
BEGIN;
INSERT INTO `md_workstation_worker` VALUES (200, 200, 4, 'user', '普通员工', 1, '', NULL, NULL, 0, 0, '', '2022-08-24 11:36:08', '', NULL);
INSERT INTO `md_workstation_worker` VALUES (201, 202, 4, 'user', '普通员工', 2, '', NULL, NULL, 0, 0, '', '2022-08-31 12:14:40', '', NULL);
INSERT INTO `md_workstation_worker` VALUES (202, 202, 3, 'hr', '人力资源', 2, '', NULL, NULL, 0, 0, '', '2022-08-31 12:14:45', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for mes_device
-- ----------------------------
DROP TABLE IF EXISTS `mes_device`;
CREATE TABLE `mes_device` (
  `id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建日期',
  `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新日期',
  `sys_org_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所属部门',
  `registry_time` date DEFAULT NULL COMMENT '激活时间',
  `code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备编码',
  `name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备名称',
  `classify` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '分类',
  `state` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'notActive' COMMENT '状态',
  `line_position_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '站位',
  `workshop_line_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产线',
  `workshop_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '车间',
  `cc_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '统一设备类型 0非扫描枪 1扫描枪',
  `workshop_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '车间编码',
  `workshop_line_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产线编码',
  `scan_type` int DEFAULT NULL COMMENT '扫描枪类型',
  `des` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '设备保养说明',
  `manual` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '设备操作手册',
  `image` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '设备图片',
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`) USING BTREE COMMENT '编码唯一'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='设备表';

-- ----------------------------
-- Records of mes_device
-- ----------------------------
BEGIN;
INSERT INTO `mes_device` VALUES ('00001', NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '1559008332356878337', 'notActive', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `mes_device` VALUES ('1559077591862267906', 'admin', '2022-08-15 15:20:39', NULL, NULL, 'A01', NULL, '2', '2', '1559008332356878337', 'notActive', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `mes_device` VALUES ('1559080716090265601', 'admin', '2022-08-15 15:33:04', NULL, NULL, 'A01', NULL, '3', '3', '1559008332356878337', 'notActive', NULL, '1557981815392747522', '1557634473514848258', '0', 'test-001', 'test-001-002', NULL, NULL, NULL, NULL);
INSERT INTO `mes_device` VALUES ('1559081240789307394', 'admin', '2022-08-15 15:35:09', NULL, NULL, 'A01', NULL, '4', '4354', '1559008332356878337', 'notActive', NULL, '1557660679148752897', '1557634473514848258', '0', 'test-001', 'test-001-001', NULL, NULL, NULL, NULL);
INSERT INTO `mes_device` VALUES ('1559086274541813762', 'admin', '2022-08-15 15:55:09', 'admin', '2022-08-16 11:50:53', 'A01', NULL, '444', '扫码设备', '1559008332356878337', 'notActive', NULL, '1557660679148752897', '1557634473514848258', '2', 'test-001', 'test-001-001', 0, NULL, 'temp/工作簿2_1660621851159.xlsx', 'temp/srchttp___img.jj20.com_up_allimg_tp06_20111116192A364-0-lp.jpgreferhttp___img.jj20_1660621830383.webp');
INSERT INTO `mes_device` VALUES ('1562733721667174402', NULL, '2022-08-25 17:28:48', NULL, NULL, '11', '2022-08-25', '11111', '111', '11', '111', '11', '11', '11', '0', '11', '11', NULL, '11', '111', NULL);
INSERT INTO `mes_device` VALUES ('1562733896615788545', NULL, '2022-08-25 17:29:30', NULL, NULL, '11', '2022-08-25', '111', '111', '11', '11', '1', '11', '11', '0', '1', '1', NULL, '1', '1', NULL);
COMMIT;

-- ----------------------------
-- Table structure for mes_scales_order
-- ----------------------------
DROP TABLE IF EXISTS `mes_scales_order`;
CREATE TABLE `mes_scales_order` (
  `scales_order_id` bigint NOT NULL AUTO_INCREMENT COMMENT '销售订单ID',
  `scales_order_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '销售订单编码',
  `scales_order_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '销售订单名称',
  `client_id` bigint DEFAULT NULL COMMENT '客户ID',
  `client_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户编码',
  `client_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户名称',
  `bill_status` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `order_status` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '状态',
  `request_date` datetime NOT NULL COMMENT '期待日期',
  `deposit` double(14,2) DEFAULT '0.00' COMMENT '销售定金',
  `explain_des` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '说明',
  `salesman` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '业务员',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`scales_order_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1564994153787654146 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='销售订单';

-- ----------------------------
-- Records of mes_scales_order
-- ----------------------------
BEGIN;
INSERT INTO `mes_scales_order` VALUES (1564973766496374786, '11', '222', NULL, NULL, NULL, '0', '0', '2022-08-30 00:00:00', 0.00, '', '', '', NULL, NULL, 0, 0, '', '2022-08-31 21:49:56', '', NULL);
INSERT INTO `mes_scales_order` VALUES (1564974066959638529, '22', '33', NULL, NULL, NULL, '0', '0', '2022-08-29 00:00:00', 0.00, '', '', '', NULL, NULL, 0, 0, '', '2022-08-31 21:51:08', '', NULL);
INSERT INTO `mes_scales_order` VALUES (1564994153787654145, 'C00018', '销售订单名称', 11111, '客户编码', '客户名称', '0', '0', '2022-08-02 00:00:00', 123.00, '', '业务员', '', NULL, NULL, 0, 0, '', '2022-08-31 23:10:57', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for mes_scales_order_item
-- ----------------------------
DROP TABLE IF EXISTS `mes_scales_order_item`;
CREATE TABLE `mes_scales_order_item` (
  `scales_order_item_id` bigint NOT NULL AUTO_INCREMENT COMMENT '销售订单产品ID',
  `scales_order_item_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '工单编码',
  `order_status` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '状态',
  `product_id` bigint NOT NULL COMMENT '产品ID',
  `product_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品编号',
  `product_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品名称',
  `product_spc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity` double(14,2) NOT NULL DEFAULT '0.00' COMMENT '生产数量',
  `amount_money` double(14,2) DEFAULT '0.00' COMMENT '金额',
  `request_date` datetime NOT NULL COMMENT '需求日期',
  `explain_des` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '需求说明',
  `client_id` bigint DEFAULT NULL COMMENT '客户ID',
  `client_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户编码',
  `client_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户名称',
  `parent_id` bigint NOT NULL DEFAULT '0' COMMENT '父工单',
  `ancestors` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '所有父节点ID',
  `status` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`scales_order_item_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=207 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='销售订单产品';

-- ----------------------------
-- Table structure for pro_feedback
-- ----------------------------
DROP TABLE IF EXISTS `pro_feedback`;
CREATE TABLE `pro_feedback` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `workstation_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站编号',
  `workstation_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站名称',
  `workorder_id` bigint NOT NULL COMMENT '生产工单ID',
  `workorder_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产工单编号',
  `workorder_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产工单名称',
  `task_id` bigint DEFAULT NULL COMMENT '生产任务ID',
  `task_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产任务编号',
  `quantity` double(14,2) DEFAULT NULL COMMENT '排产数量',
  `quantity_feedback` double(14,2) DEFAULT NULL COMMENT '本次报工数量',
  `quantity_qualified` double(14,2) DEFAULT NULL COMMENT '合格品数量',
  `quantity_unquanlified` double(14,2) DEFAULT NULL COMMENT '不良品数量',
  `user_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '报工用户名',
  `nick_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '昵称',
  `feedback_channel` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '报工途径',
  `feedback_time` datetime DEFAULT NULL COMMENT '报工时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产报工记录表';

-- ----------------------------
-- Records of pro_feedback
-- ----------------------------
BEGIN;
INSERT INTO `pro_feedback` VALUES (200, 200, 'WS001', '配料站', 200, 'GD0001', 'AG02生产工单01', 200, 'TASK20220001', 1.00, 1.00, 1.00, 0.00, 'admin', NULL, NULL, '2022-08-24 12:31:52', '', NULL, NULL, 0, 0, '', '2022-08-24 12:31:52', '', NULL);
INSERT INTO `pro_feedback` VALUES (201, 201, 'WS002', '分散工作站', 200, 'GD0001', 'AG02生产工单01', 201, 'TASK20220002', 1.00, 1.00, 1.00, 0.00, 'admin', NULL, NULL, '2022-08-24 14:25:05', '', NULL, NULL, 0, 0, '', '2022-08-24 14:25:05', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for pro_process
-- ----------------------------
DROP TABLE IF EXISTS `pro_process`;
CREATE TABLE `pro_process` (
  `process_id` bigint NOT NULL AUTO_INCREMENT COMMENT '工序ID',
  `process_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工序编码',
  `process_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工序名称',
  `attention` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工艺要求',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`process_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产工序表';

-- ----------------------------
-- Records of pro_process
-- ----------------------------
BEGIN;
INSERT INTO `pro_process` VALUES (202, 'PROCESS001', '工序名称01', '工序说明01', 'Y', '备注01', NULL, NULL, 0, 0, '', '2022-08-31 11:59:42', '', '2022-08-31 12:01:56');
INSERT INTO `pro_process` VALUES (203, 'PROCESS002', '工序名称02', '工序说明02', 'Y', '备注02', NULL, NULL, 0, 0, '', '2022-08-31 12:01:46', '', '2022-08-31 12:03:01');
COMMIT;

-- ----------------------------
-- Table structure for pro_process_content
-- ----------------------------
DROP TABLE IF EXISTS `pro_process_content`;
CREATE TABLE `pro_process_content` (
  `content_id` bigint NOT NULL AUTO_INCREMENT COMMENT '内容ID',
  `process_id` bigint NOT NULL COMMENT '工序ID',
  `order_num` int DEFAULT '0' COMMENT '顺序编号',
  `content_text` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '内容说明',
  `device` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '辅助设备',
  `material` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '辅助材料',
  `doc_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '材料URL',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`content_id`)
) ENGINE=InnoDB AUTO_INCREMENT=205 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产工序内容表';

-- ----------------------------
-- Records of pro_process_content
-- ----------------------------
BEGIN;
INSERT INTO `pro_process_content` VALUES (200, 200, 1, '加粉1g', '称重器', NULL, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 11:29:14', '', NULL);
INSERT INTO `pro_process_content` VALUES (201, 202, 1, '步骤说明01', '辅助设备01', '辅助材料01', '材料URL01', '备注01', NULL, NULL, 0, 0, '', '2022-08-31 12:00:35', '', NULL);
INSERT INTO `pro_process_content` VALUES (202, 202, 2, '步骤说明02', '辅助设备02', '辅助材料02', '材料URL02', '备注02', NULL, NULL, 0, 0, '', '2022-08-31 12:01:05', '', NULL);
INSERT INTO `pro_process_content` VALUES (203, 203, 1, '说明01', '设备01', '材料01', 'URL01', '备注01', NULL, NULL, 0, 0, '', '2022-08-31 12:02:29', '', NULL);
INSERT INTO `pro_process_content` VALUES (204, 203, 2, '说明02', '设备02', '材料02', 'URL02', '备注02', NULL, NULL, 0, 0, '', '2022-08-31 12:02:59', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for pro_route
-- ----------------------------
DROP TABLE IF EXISTS `pro_route`;
CREATE TABLE `pro_route` (
  `route_id` bigint NOT NULL AUTO_INCREMENT COMMENT '工艺路线ID',
  `route_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工艺路线编号',
  `route_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工艺路线名称',
  `route_desc` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工艺路线说明',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`route_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工艺路线表';

-- ----------------------------
-- Records of pro_route
-- ----------------------------
BEGIN;
INSERT INTO `pro_route` VALUES (201, 'R1000', '工艺路线', '说明01', 'Y', '备注01', NULL, NULL, 0, 0, '', '2022-08-31 12:06:14', '', NULL);
INSERT INTO `pro_route` VALUES (202, 'R1001', '工艺路线', '说明02', 'Y', '备注02', NULL, NULL, 0, 0, '', '2022-08-31 12:06:55', '', '2022-08-31 12:13:47');
COMMIT;

-- ----------------------------
-- Table structure for pro_route_process
-- ----------------------------
DROP TABLE IF EXISTS `pro_route_process`;
CREATE TABLE `pro_route_process` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `route_id` bigint NOT NULL COMMENT '工艺路线ID',
  `process_id` bigint NOT NULL COMMENT '工序ID',
  `process_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序编码',
  `process_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序名称',
  `order_num` int DEFAULT '1' COMMENT '序号',
  `next_process_id` bigint NOT NULL COMMENT '工序ID',
  `next_process_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序编码',
  `next_process_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序名称',
  `link_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'SS' COMMENT '与下一道工序关系',
  `default_pre_time` int DEFAULT '0' COMMENT '准备时间',
  `default_suf_time` int DEFAULT '0' COMMENT '等待时间',
  `color_code` char(7) COLLATE utf8mb4_general_ci DEFAULT '#00AEF3' COMMENT '甘特图显示颜色',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工艺组成表';

-- ----------------------------
-- Records of pro_route_process
-- ----------------------------
BEGIN;
INSERT INTO `pro_route_process` VALUES (200, 200, 200, 'GX001', '配料工序', 1, 201, 'GX002', '分散工序', 'FS', 1, 3, '#00AEF3', '', NULL, NULL, 0, 0, '', '2022-08-24 11:32:16', '', '2022-08-28 10:27:45');
INSERT INTO `pro_route_process` VALUES (201, 200, 201, 'GX002', '分散工序', 2, 0, NULL, '无', 'FS', 3, 4, '#00AEF3', '', NULL, NULL, 0, 0, '', '2022-08-24 11:32:46', '', '2022-08-28 10:27:45');
INSERT INTO `pro_route_process` VALUES (202, 202, 202, 'PROCESS001', '工序名称01', 1, 0, NULL, '无', 'FS', 0, 0, '#00AEF3', '', NULL, NULL, 0, 0, '', '2022-08-31 12:08:20', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for pro_route_product
-- ----------------------------
DROP TABLE IF EXISTS `pro_route_product`;
CREATE TABLE `pro_route_product` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `route_id` bigint NOT NULL COMMENT '工艺路线ID',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity` int DEFAULT '1' COMMENT '生产数量',
  `production_time` double(12,2) DEFAULT '1.00' COMMENT '生产用时',
  `time_unit_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'MINUTE' COMMENT '时间单位',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='产品制程';

-- ----------------------------
-- Records of pro_route_product
-- ----------------------------
BEGIN;
INSERT INTO `pro_route_product` VALUES (200, 200, 200, 'C00002', 'AG02', 'USR-100', '01', 1, 1.00, 'MINUTE', '', NULL, NULL, 0, 0, '', '2022-08-24 12:13:30', '', NULL);
INSERT INTO `pro_route_product` VALUES (201, 202, 203, 'C00009', '产品01', '型号01', '00', 1, 1.00, 'MINUTE', '', NULL, NULL, 0, 0, '', '2022-08-31 12:12:56', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for pro_task
-- ----------------------------
DROP TABLE IF EXISTS `pro_task`;
CREATE TABLE `pro_task` (
  `task_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `task_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务编号',
  `task_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `workorder_id` bigint NOT NULL COMMENT '生产工单ID',
  `workorder_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '生产工单编号',
  `workorder_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工单名称',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `workstation_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工作站编号',
  `workstation_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工作站名称',
  `process_id` bigint NOT NULL COMMENT '工序ID',
  `process_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序编码',
  `process_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序名称',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity` double(14,2) NOT NULL DEFAULT '1.00' COMMENT '排产数量',
  `quantity_produced` double(14,2) DEFAULT '0.00' COMMENT '已生产数量',
  `quantity_quanlify` double(14,2) DEFAULT '0.00' COMMENT '合格品数量',
  `quantity_unquanlify` double(14,2) DEFAULT '0.00' COMMENT '不良品数量',
  `quantity_changed` double(14,2) DEFAULT '0.00' COMMENT '调整数量',
  `client_id` bigint NOT NULL DEFAULT '0' COMMENT '客户ID',
  `client_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '客户编码',
  `client_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '客户名称',
  `client_nick` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户简称',
  `start_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '开始生产时间',
  `duration` int DEFAULT '1' COMMENT '生产时长',
  `end_time` datetime DEFAULT NULL COMMENT '完成生产时间',
  `color_code` char(7) COLLATE utf8mb4_general_ci DEFAULT '#00AEF3' COMMENT '甘特图显示颜色',
  `request_date` datetime DEFAULT NULL COMMENT '需求日期',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'NORMARL' COMMENT '生产状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`task_id`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产任务表';

-- ----------------------------
-- Records of pro_task
-- ----------------------------
BEGIN;
INSERT INTO `pro_task` VALUES (200, 'TASK20220001', 'AG02【1】KG', 200, 'GD0001', 'AG02生产工单01', 200, 'WS001', '配料站', 200, 'GX001', '配料工序', 200, 'C00002', 'AG02', 'USR-100', 'KG', 1.00, 1.00, 1.00, 0.00, 0.00, 200, '1234', '1234', NULL, '2022-08-24 10:00:00', 1, '2022-08-24 18:00:00', '#00AEF3', NULL, 'FINISHED', '', NULL, NULL, 0, 0, '', '2022-08-24 12:29:57', '', '2022-08-29 16:31:00');
INSERT INTO `pro_task` VALUES (201, 'TASK20220002', 'AG02【1】KG', 200, 'GD0001', 'AG02生产工单01', 201, 'WS002', '分散工作站', 201, 'GX002', '分散工序', 200, 'C00002', 'AG02', 'USR-100', 'KG', 1.00, 1.00, 1.00, 0.00, 0.00, 200, '1234', '1234', NULL, '2022-08-24 11:00:00', 1, '2022-08-24 19:00:00', '#F33100', NULL, 'FINISHED', '', NULL, NULL, 0, 0, '', '2022-08-24 12:37:38', '', '2022-08-24 15:54:31');
INSERT INTO `pro_task` VALUES (202, 'TASK20220007', 'AG02【5】KG', 201, 'MO202208280003', 'AG02生产工单02', 202, 'WS0001', '配料站02', 200, 'GX001', '配料工序', 200, 'C00002', 'AG02', 'USR-100', 'KG', 5.00, 0.00, 0.00, 0.00, 0.00, 0, '', '', NULL, '2022-08-28 00:00:00', 1, '2022-08-28 08:00:00', '#00AEF3', NULL, 'NORMARL', '', NULL, NULL, 0, 0, '', '2022-08-28 10:57:37', '', NULL);
INSERT INTO `pro_task` VALUES (203, 'TASK20220008', 'AG02【1】KG', 201, 'MO202208280003', 'AG02生产工单02', 201, 'WS002', '分散工作站', 201, 'GX002', '分散工序', 200, 'C00002', 'AG02', 'USR-100', 'KG', 1.00, 0.00, 0.00, 0.00, 0.00, 0, '', '', NULL, '2022-08-28 00:00:00', 1, '2022-08-28 08:00:00', '#00AEF3', NULL, 'NORMARL', '', NULL, NULL, 0, 0, '', '2022-08-28 10:59:31', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for pro_task_issue
-- ----------------------------
DROP TABLE IF EXISTS `pro_task_issue`;
CREATE TABLE `pro_task_issue` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `task_id` bigint NOT NULL COMMENT '生产任务ID',
  `workorder_id` bigint DEFAULT NULL COMMENT '生产工单ID',
  `workstation_id` bigint DEFAULT NULL COMMENT '工作站ID',
  `source_doc_id` bigint NOT NULL COMMENT '单据ID',
  `source_doc_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单据编号',
  `batch_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '投料批次',
  `source_line_id` bigint DEFAULT NULL COMMENT '行ID',
  `item_id` bigint DEFAULT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity_issued` double(12,2) DEFAULT NULL COMMENT '总的投料数量',
  `quantity_available` double(12,2) DEFAULT NULL COMMENT '当前可用数量',
  `quantity_used` double(12,2) DEFAULT NULL COMMENT '当前使用数量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产任务投料表';

-- ----------------------------
-- Table structure for pro_trans_consume
-- ----------------------------
DROP TABLE IF EXISTS `pro_trans_consume`;
CREATE TABLE `pro_trans_consume` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `trans_order_id` bigint DEFAULT NULL COMMENT '流转单ID',
  `trans_order_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '流转单编号',
  `task_id` bigint NOT NULL COMMENT '生产任务ID',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `process_id` bigint DEFAULT NULL COMMENT '工序ID',
  `workorder_id` bigint DEFAULT NULL COMMENT '生产工单ID',
  `batch_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '批次号',
  `source_doc_id` bigint DEFAULT NULL COMMENT '被消耗单据ID',
  `source_doc_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '被消耗单据编号',
  `source_doc_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '被消耗单据类型',
  `source_line_id` bigint DEFAULT NULL COMMENT '被消耗单据行ID',
  `source_batch_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '被消耗物料批次号',
  `item_id` bigint DEFAULT NULL COMMENT '被消耗产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '被消耗产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '被消耗产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity_consumed` double(12,2) DEFAULT NULL COMMENT '消耗数量',
  `consume_date` datetime DEFAULT NULL COMMENT '消耗时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='物料消耗记录表';

-- ----------------------------
-- Table structure for pro_trans_order
-- ----------------------------
DROP TABLE IF EXISTS `pro_trans_order`;
CREATE TABLE `pro_trans_order` (
  `trans_order_id` bigint NOT NULL AUTO_INCREMENT COMMENT '流转单ID',
  `trans_order_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '流转单编号',
  `task_id` bigint NOT NULL COMMENT '生产任务ID',
  `task_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产任务编号',
  `workstation_id` bigint NOT NULL COMMENT '工作站ID',
  `workstation_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站编号',
  `workstation_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站名称',
  `process_id` bigint DEFAULT NULL COMMENT '工序ID',
  `process_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序编号',
  `process_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工序名称',
  `workorder_id` bigint DEFAULT NULL COMMENT '生产工单ID',
  `workorder_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产工单编号',
  `workorder_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产工单名称',
  `batch_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '批次号',
  `item_id` bigint DEFAULT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity_transfered` double(12,2) DEFAULT NULL COMMENT '流转数量',
  `produce_date` datetime DEFAULT NULL COMMENT '生产日期',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`trans_order_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='流转单表';

-- ----------------------------
-- Table structure for pro_workorder
-- ----------------------------
DROP TABLE IF EXISTS `pro_workorder`;
CREATE TABLE `pro_workorder` (
  `workorder_id` bigint NOT NULL AUTO_INCREMENT COMMENT '工单ID',
  `workorder_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工单编码',
  `workorder_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工单名称',
  `order_source` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '来源类型',
  `source_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '来源单据',
  `product_id` bigint NOT NULL COMMENT '产品ID',
  `product_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品编号',
  `product_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品名称',
  `product_spc` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `quantity` double(14,2) NOT NULL DEFAULT '0.00' COMMENT '生产数量',
  `quantity_produced` double(14,2) DEFAULT '0.00' COMMENT '已生产数量',
  `quantity_changed` double(14,2) DEFAULT '0.00' COMMENT '调整数量',
  `quantity_scheduled` double(14,2) DEFAULT '0.00' COMMENT '已排产数量',
  `client_id` bigint DEFAULT NULL COMMENT '客户ID',
  `client_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户编码',
  `client_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户名称',
  `request_date` datetime NOT NULL COMMENT '需求日期',
  `parent_id` bigint NOT NULL DEFAULT '0' COMMENT '父工单',
  `ancestors` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '所有父节点ID',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`workorder_id`)
) ENGINE=InnoDB AUTO_INCREMENT=207 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产工单表';

-- ----------------------------
-- Records of pro_workorder
-- ----------------------------
BEGIN;
INSERT INTO `pro_workorder` VALUES (200, 'GD0001', 'AG02生产工单01', 'ORDER', '20220824', 200, 'C00002', 'AG02', 'USR-100', 'KG', 1.00, 0.00, 0.00, 0.00, 200, '1234', '1234', '2022-08-25 00:00:00', 0, '0', 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-24 12:20:58', '', '2022-08-24 12:21:41');
INSERT INTO `pro_workorder` VALUES (201, 'MO202208280003', 'AG02生产工单02', 'STORE', NULL, 200, 'C00002', 'AG02', 'USR-100', 'KG', 10.00, 0.00, 0.00, 0.00, NULL, NULL, NULL, '2022-08-31 00:00:00', 0, '0', 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-28 10:37:57', '', '2022-08-28 10:38:53');
INSERT INTO `pro_workorder` VALUES (202, 'MO202208280004', 'AG02生产工单02-01', 'STORE', NULL, 200, 'C00002', 'AG02', 'USR-100', 'KG', 5.00, 0.00, 0.00, 0.00, NULL, NULL, NULL, '2022-08-29 00:00:00', 201, '0,0', 'CONFIRMED', '2022-08-29', NULL, NULL, 0, 0, '', '2022-08-28 10:39:27', '', '2022-08-28 10:42:41');
INSERT INTO `pro_workorder` VALUES (203, 'MO202208310002', '测试工单', 'ORDER', '100000111', 201, 'C00003', 'A020', 'A020', 'KG', 1100.00, 0.00, 0.00, 0.00, 201, 'C00034', '测试客户', '2022-09-10 00:00:00', 0, '0', 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-31 17:49:54', '', '2022-08-31 17:50:05');
INSERT INTO `pro_workorder` VALUES (204, 'MO202208310003', '测试工单02', 'ORDER', NULL, 202, 'C00008', '121111', '是是是', '00', 1.00, 0.00, 0.00, 0.00, 201, 'C00034', '测试客户', '2022-09-09 00:00:00', 0, '0', 'PREPARE', '', NULL, NULL, 0, 0, '', '2022-08-31 17:50:53', '', NULL);
INSERT INTO `pro_workorder` VALUES (205, 'MO202208310004', '测试工单003', 'STORE', NULL, 203, 'C00009', '产品01', '型号01', '00', 1.00, 0.00, 0.00, 0.00, NULL, NULL, NULL, '2022-09-08 00:00:00', 0, '0', 'PREPARE', '', NULL, NULL, 0, 0, '', '2022-08-31 17:51:50', '', NULL);
INSERT INTO `pro_workorder` VALUES (206, 'MO202208310005', '测试工单+新增', 'ORDER', '100000111', 201, 'C00003', 'A020', 'A020', 'KG', 1.00, 0.00, 0.00, 0.00, 201, 'C00034', '测试客户', '2022-09-07 00:00:00', 203, '0,0', 'PREPARE', '', NULL, NULL, 0, 0, '', '2022-08-31 17:52:44', '', '2022-08-31 17:52:48');
COMMIT;

-- ----------------------------
-- Table structure for pro_workorder_bom
-- ----------------------------
DROP TABLE IF EXISTS `pro_workorder_bom`;
CREATE TABLE `pro_workorder_bom` (
  `line_id` bigint NOT NULL AUTO_INCREMENT COMMENT '行ID',
  `workorder_id` bigint NOT NULL COMMENT '生产工单ID',
  `item_id` bigint NOT NULL COMMENT 'BOM物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOM物料编号',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOM物料名称',
  `item_spc` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '单位',
  `item_or_product` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '物料产品标识',
  `quantity` double(14,2) NOT NULL DEFAULT '0.00' COMMENT '预计使用量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=205 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产工单BOM组成表';

-- ----------------------------
-- Records of pro_workorder_bom
-- ----------------------------
BEGIN;
INSERT INTO `pro_workorder_bom` VALUES (200, 200, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 1.00, '', NULL, NULL, 0, 0, '', '2022-08-24 12:20:58', '', NULL);
INSERT INTO `pro_workorder_bom` VALUES (201, 201, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 10.00, '', NULL, NULL, 0, 0, '', '2022-08-28 10:37:57', '', NULL);
INSERT INTO `pro_workorder_bom` VALUES (202, 202, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 5.00, '', NULL, NULL, 0, 0, '', '2022-08-28 10:39:27', '', NULL);
INSERT INTO `pro_workorder_bom` VALUES (203, 203, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 1100.00, '', NULL, NULL, 0, 0, '', '2022-08-31 17:49:54', '', NULL);
INSERT INTO `pro_workorder_bom` VALUES (204, 206, 201, 'C00003', 'A020', 'A020', 'KG', 'ITEM', 1.00, '', NULL, NULL, 0, 0, '', '2022-08-31 17:52:44', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qc_defect
-- ----------------------------
DROP TABLE IF EXISTS `qc_defect`;
CREATE TABLE `qc_defect` (
  `defect_id` bigint NOT NULL AUTO_INCREMENT COMMENT '缺陷ID',
  `defect_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '缺陷编码',
  `defect_name` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '缺陷描述',
  `index_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项类型',
  `defect_level` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '缺陷等级',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`defect_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='常见缺陷表';

-- ----------------------------
-- Records of qc_defect
-- ----------------------------
BEGIN;
INSERT INTO `qc_defect` VALUES (200, 'DF001', '缺陷描述', 'WEIGHT', 'CR', '', NULL, NULL, 0, 0, '', '2022-08-31 17:58:37', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qc_index
-- ----------------------------
DROP TABLE IF EXISTS `qc_index`;
CREATE TABLE `qc_index` (
  `index_id` bigint NOT NULL AUTO_INCREMENT COMMENT '检测项ID',
  `index_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项编码',
  `index_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项名称',
  `index_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项类型',
  `qc_tool` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测工具',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`index_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='检测项表';

-- ----------------------------
-- Records of qc_index
-- ----------------------------
BEGIN;
INSERT INTO `qc_index` VALUES (200, 'I0001', '研磨粘度(25°C)', 'COMPONENT', NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 14:57:48', '', '2022-08-24 14:58:29');
INSERT INTO `qc_index` VALUES (201, 'I0002', '包装前粘度(25°C)', 'COMPONENT', NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 14:58:20', '', NULL);
INSERT INTO `qc_index` VALUES (202, 'I0003', '测试检测项', 'APPEARANCE', '检测工具', '备注', NULL, NULL, 0, 0, '', '2022-08-31 17:59:17', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qc_iqc
-- ----------------------------
DROP TABLE IF EXISTS `qc_iqc`;
CREATE TABLE `qc_iqc` (
  `iqc_id` bigint NOT NULL AUTO_INCREMENT COMMENT '来料检验单ID',
  `iqc_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '来料检验单编号',
  `iqc_name` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '来料检验单名称',
  `template_id` bigint NOT NULL COMMENT '检验模板ID',
  `vendor_id` bigint NOT NULL COMMENT '供应商ID',
  `vendor_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '供应商编码',
  `vendor_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '供应商名称',
  `vendor_nick` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简称',
  `vendor_batch` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商批次号',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `quantity_min_check` int DEFAULT '1' COMMENT '最低检测数',
  `quantity_max_unqualified` int DEFAULT '0' COMMENT '最大不合格数',
  `quantity_recived` double(12,2) NOT NULL COMMENT '本次接收数量',
  `quantity_check` int NOT NULL COMMENT '本次检测数量',
  `quantity_unqualified` int DEFAULT '0' COMMENT '不合格数',
  `cr_rate` double(12,2) DEFAULT '0.00' COMMENT '致命缺陷率',
  `maj_rate` double(12,2) DEFAULT '0.00' COMMENT '严重缺陷率',
  `min_rate` double(12,2) DEFAULT '0.00' COMMENT '轻微缺陷率',
  `cr_quantity` int DEFAULT '0' COMMENT '致命缺陷数量',
  `maj_quantity` int DEFAULT '0' COMMENT '严重缺陷数量',
  `min_quantity` int DEFAULT '0' COMMENT '轻微缺陷数量',
  `check_result` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测结果',
  `recive_date` datetime DEFAULT NULL COMMENT '来料日期',
  `inspect_date` datetime DEFAULT NULL COMMENT '检测日期',
  `inspector` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测人员',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单据状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`iqc_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='来料检验单表';

-- ----------------------------
-- Records of qc_iqc
-- ----------------------------
BEGIN;
INSERT INTO `qc_iqc` VALUES (200, '11', '11', 200, 200, 'GYS001', 'XXX供应商公司', 'XXX供应商公司', NULL, 200, 'C00002', 'AG02', 'USR-100', 'KG', 1, 0, 3.00, 3, 3, 0.00, 66.67, 33.33, 0, 2, 1, 'ACCEPT', '2022-08-24 00:00:00', '2022-08-25 00:00:00', 'admin', 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-24 15:04:12', '', '2022-08-26 18:03:56');
COMMIT;

-- ----------------------------
-- Table structure for qc_iqc_defect
-- ----------------------------
DROP TABLE IF EXISTS `qc_iqc_defect`;
CREATE TABLE `qc_iqc_defect` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '缺陷ID',
  `iqc_id` bigint NOT NULL COMMENT '来料检验单ID',
  `line_id` bigint NOT NULL COMMENT '来料检验单行ID',
  `defect_name` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '缺陷描述',
  `defect_level` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '缺陷等级',
  `defect_quantity` int DEFAULT '1' COMMENT '缺陷数量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=206 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='来料检验单缺陷记录表';

-- ----------------------------
-- Table structure for qc_iqc_line
-- ----------------------------
DROP TABLE IF EXISTS `qc_iqc_line`;
CREATE TABLE `qc_iqc_line` (
  `line_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `iqc_id` bigint NOT NULL COMMENT '检验单ID',
  `index_id` bigint NOT NULL COMMENT '检测项ID',
  `index_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测项编码',
  `index_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测项名称',
  `index_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测项类型',
  `qc_tool` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测工具',
  `check_method` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测要求',
  `stander_val` double(12,4) DEFAULT NULL COMMENT '标准值',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `threshold_max` double(12,4) DEFAULT NULL COMMENT '误差上限',
  `threshold_min` double(12,4) DEFAULT NULL COMMENT '误差下限',
  `cr_quantity` int DEFAULT '0' COMMENT '致命缺陷数量',
  `maj_quantity` int DEFAULT '0' COMMENT '严重缺陷数量',
  `min_quantity` int DEFAULT '0' COMMENT '轻微缺陷数量',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=207 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='来料检验单行表';

-- ----------------------------
-- Records of qc_iqc_line
-- ----------------------------
BEGIN;
INSERT INTO `qc_iqc_line` VALUES (206, 200, 200, 'I0001', '研磨粘度(25°C)', 'COMPONENT', NULL, '正常检测', 120.0000, 'KG', 3.0000, -3.0000, 0, 0, 0, '', NULL, NULL, 0, 0, '', '2022-08-26 18:03:56', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qc_template
-- ----------------------------
DROP TABLE IF EXISTS `qc_template`;
CREATE TABLE `qc_template` (
  `template_id` bigint NOT NULL AUTO_INCREMENT COMMENT '检测模板ID',
  `template_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测模板编号',
  `template_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测模板名称',
  `qc_types` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测种类',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`template_id`)
) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='检测模板表';

-- ----------------------------
-- Records of qc_template
-- ----------------------------
BEGIN;
INSERT INTO `qc_template` VALUES (200, 'QC-CP001', '成品检验模板01', 'FQC', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-24 14:54:32', '', '2022-08-24 15:02:42');
INSERT INTO `qc_template` VALUES (201, 'QCT2022001', '测试c名称', 'FQC', 'Y', '', NULL, NULL, 0, 0, '', '2022-08-31 18:02:28', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qc_template_index
-- ----------------------------
DROP TABLE IF EXISTS `qc_template_index`;
CREATE TABLE `qc_template_index` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `template_id` bigint NOT NULL COMMENT '检测模板ID',
  `index_id` bigint NOT NULL COMMENT '检测项ID',
  `index_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项编码',
  `index_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项名称',
  `index_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '检测项类型',
  `qc_tool` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测工具',
  `check_method` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '检测要求',
  `stander_val` double(12,4) DEFAULT NULL COMMENT '标准值',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `threshold_max` double(12,4) DEFAULT NULL COMMENT '误差上限',
  `threshold_min` double(12,4) DEFAULT NULL COMMENT '误差下限',
  `doc_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '说明图',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='检测模板-检测项表';

-- ----------------------------
-- Records of qc_template_index
-- ----------------------------
BEGIN;
INSERT INTO `qc_template_index` VALUES (200, 200, 200, 'I0001', '研磨粘度(25°C)', 'COMPONENT', NULL, '正常检测', 120.0000, 'KG', 3.0000, -3.0000, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 14:59:31', '', NULL);
INSERT INTO `qc_template_index` VALUES (201, 201, 202, 'I0003', '测试检测项', 'APPEARANCE', '检测工具', '检测要求', 90.0000, '00', 2.0000, -2.0000, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 18:03:09', '', NULL);
INSERT INTO `qc_template_index` VALUES (202, 201, 201, 'I0002', '包装前粘度(25°C)', 'COMPONENT', NULL, '检测要求', 100.0000, '00', 3.0000, -3.0000, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 18:03:52', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qc_template_product
-- ----------------------------
DROP TABLE IF EXISTS `qc_template_product`;
CREATE TABLE `qc_template_product` (
  `record_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `template_id` bigint NOT NULL COMMENT '检测模板ID',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `quantity_check` int DEFAULT '1' COMMENT '最低检测数',
  `quantity_unqualified` int DEFAULT '0' COMMENT '最大不合格数',
  `cr_rate` double(12,2) DEFAULT '0.00' COMMENT '最大致命缺陷率',
  `maj_rate` double(12,2) DEFAULT '0.00' COMMENT '最大严重缺陷率',
  `min_rate` double(12,2) DEFAULT '100.00' COMMENT '最大轻微缺陷率',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='检测模板-产品表';

-- ----------------------------
-- Records of qc_template_product
-- ----------------------------
BEGIN;
INSERT INTO `qc_template_product` VALUES (200, 200, 200, 'C00002', 'AG02', 'USR-100', 'KG', 1, 1, 0.00, 0.00, 100.00, '', NULL, NULL, 0, 0, '', '2022-08-24 15:00:48', '', '2022-08-24 15:02:41');
INSERT INTO `qc_template_product` VALUES (201, 201, 203, 'C00009', '产品01', '型号01', '00', 1, 0, 0.00, 0.00, 100.00, '', NULL, NULL, 0, 0, '', '2022-08-31 18:04:24', '', NULL);
INSERT INTO `qc_template_product` VALUES (202, 201, 202, 'C00008', '121111', '是是是', '00', 1, 0, 0.00, 0.00, 100.00, '', NULL, NULL, 0, 0, '', '2022-08-31 18:04:42', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for qrtz_blob_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_blob_triggers`;
CREATE TABLE `qrtz_blob_triggers` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `blob_data` blob COMMENT '存放持久化Trigger对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Blob类型的触发器表';

-- ----------------------------
-- Table structure for qrtz_calendars
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_calendars`;
CREATE TABLE `qrtz_calendars` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `calendar_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '日历名称',
  `calendar` blob NOT NULL COMMENT '存放持久化calendar对象',
  PRIMARY KEY (`sched_name`,`calendar_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='日历信息表';

-- ----------------------------
-- Table structure for qrtz_cron_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_cron_triggers`;
CREATE TABLE `qrtz_cron_triggers` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `cron_expression` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'cron表达式',
  `time_zone_id` varchar(80) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '时区',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Cron类型的触发器表';

-- ----------------------------
-- Table structure for qrtz_fired_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_fired_triggers`;
CREATE TABLE `qrtz_fired_triggers` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `entry_id` varchar(95) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度器实例id',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `instance_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度器实例名',
  `fired_time` bigint NOT NULL COMMENT '触发的时间',
  `sched_time` bigint NOT NULL COMMENT '定时器制定的时间',
  `priority` int NOT NULL COMMENT '优先级',
  `state` varchar(16) COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态',
  `job_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '任务名称',
  `job_group` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '任务组名',
  `is_nonconcurrent` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否并发',
  `requests_recovery` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否接受恢复执行',
  PRIMARY KEY (`sched_name`,`entry_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='已触发的触发器表';

-- ----------------------------
-- Table structure for qrtz_job_details
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_job_details`;
CREATE TABLE `qrtz_job_details` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `job_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `job_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
  `description` varchar(250) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '相关介绍',
  `job_class_name` varchar(250) COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行任务类名称',
  `is_durable` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否持久化',
  `is_nonconcurrent` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否并发',
  `is_update_data` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否更新数据',
  `requests_recovery` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否接受恢复执行',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`job_name`,`job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='任务详细信息表';

-- ----------------------------
-- Table structure for qrtz_locks
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_locks`;
CREATE TABLE `qrtz_locks` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `lock_name` varchar(40) COLLATE utf8mb4_general_ci NOT NULL COMMENT '悲观锁名称',
  PRIMARY KEY (`sched_name`,`lock_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='存储的悲观锁信息表';

-- ----------------------------
-- Table structure for qrtz_paused_trigger_grps
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;
CREATE TABLE `qrtz_paused_trigger_grps` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  PRIMARY KEY (`sched_name`,`trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='暂停的触发器表';

-- ----------------------------
-- Table structure for qrtz_scheduler_state
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_scheduler_state`;
CREATE TABLE `qrtz_scheduler_state` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `instance_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '实例名称',
  `last_checkin_time` bigint NOT NULL COMMENT '上次检查时间',
  `checkin_interval` bigint NOT NULL COMMENT '检查间隔时间',
  PRIMARY KEY (`sched_name`,`instance_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='调度器状态表';

-- ----------------------------
-- Table structure for qrtz_simple_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_simple_triggers`;
CREATE TABLE `qrtz_simple_triggers` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `repeat_count` bigint NOT NULL COMMENT '重复的次数统计',
  `repeat_interval` bigint NOT NULL COMMENT '重复的间隔时间',
  `times_triggered` bigint NOT NULL COMMENT '已经触发的次数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='简单触发器的信息表';

-- ----------------------------
-- Table structure for qrtz_simprop_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_simprop_triggers`;
CREATE TABLE `qrtz_simprop_triggers` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `str_prop_1` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第一个参数',
  `str_prop_2` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第二个参数',
  `str_prop_3` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第三个参数',
  `int_prop_1` int DEFAULT NULL COMMENT 'int类型的trigger的第一个参数',
  `int_prop_2` int DEFAULT NULL COMMENT 'int类型的trigger的第二个参数',
  `long_prop_1` bigint DEFAULT NULL COMMENT 'long类型的trigger的第一个参数',
  `long_prop_2` bigint DEFAULT NULL COMMENT 'long类型的trigger的第二个参数',
  `dec_prop_1` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第一个参数',
  `dec_prop_2` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第二个参数',
  `bool_prop_1` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Boolean类型的trigger的第一个参数',
  `bool_prop_2` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Boolean类型的trigger的第二个参数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='同步机制的行锁表';

-- ----------------------------
-- Table structure for qrtz_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_triggers`;
CREATE TABLE `qrtz_triggers` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器的名字',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器所属组的名字',
  `job_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_job_details表job_name的外键',
  `job_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_job_details表job_group的外键',
  `description` varchar(250) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '相关介绍',
  `next_fire_time` bigint DEFAULT NULL COMMENT '上一次触发时间（毫秒）',
  `prev_fire_time` bigint DEFAULT NULL COMMENT '下一次触发时间（默认为-1表示不触发）',
  `priority` int DEFAULT NULL COMMENT '优先级',
  `trigger_state` varchar(16) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器状态',
  `trigger_type` varchar(8) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器的类型',
  `start_time` bigint NOT NULL COMMENT '开始时间',
  `end_time` bigint DEFAULT NULL COMMENT '结束时间',
  `calendar_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日程表名称',
  `misfire_instr` smallint DEFAULT NULL COMMENT '补偿执行的策略',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  KEY `sched_name` (`sched_name`,`job_name`,`job_group`),
  CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `qrtz_job_details` (`sched_name`, `job_name`, `job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='触发器详细信息表';

-- ----------------------------
-- Table structure for sys_attachment
-- ----------------------------
DROP TABLE IF EXISTS `sys_attachment`;
CREATE TABLE `sys_attachment` (
  `attachment_id` bigint NOT NULL AUTO_INCREMENT COMMENT '附件ID',
  `source_doc_id` bigint DEFAULT NULL COMMENT '关联的业务单据ID',
  `source_doc_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '业务单据类型',
  `file_url` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '访问URL',
  `base_path` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '域名',
  `file_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件名',
  `orignal_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '原来的文件名',
  `file_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件类型',
  `file_size` double(12,2) DEFAULT NULL COMMENT '文件大小',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`attachment_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='附件表';

-- ----------------------------
-- Table structure for sys_auto_code_part
-- ----------------------------
DROP TABLE IF EXISTS `sys_auto_code_part`;
CREATE TABLE `sys_auto_code_part` (
  `part_id` bigint NOT NULL AUTO_INCREMENT COMMENT '分段ID',
  `rule_id` bigint NOT NULL COMMENT '规则ID',
  `part_index` int NOT NULL COMMENT '分段序号',
  `part_type` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '分段类型，INPUTCHAR：输入字符，NOWDATE：当前日期时间，FIXCHAR：固定字符，SERIALNO：流水号',
  `part_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '分段编号',
  `part_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '分段名称',
  `part_length` int NOT NULL COMMENT '分段长度',
  `date_format` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日期时间格式',
  `input_character` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '输入字符',
  `fix_character` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '固定字符',
  `seria_start_no` int DEFAULT NULL COMMENT '流水号起始值',
  `seria_step` int DEFAULT NULL COMMENT '流水号步长',
  `seria_now_no` int DEFAULT NULL COMMENT '流水号当前值',
  `cycle_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '流水号是否循环',
  `cycle_method` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '循环方式，YEAR：按年，MONTH：按月，DAY：按天，HOUR：按小时，MINITE：按分钟，OTHER：按传入字符变',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`part_id`)
) ENGINE=InnoDB AUTO_INCREMENT=252 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='编码生成规则组成表';

-- ----------------------------
-- Records of sys_auto_code_part
-- ----------------------------
BEGIN;
INSERT INTO `sys_auto_code_part` VALUES (200, 200, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'C', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 04:05:36', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (201, 200, 2, 'SERIALNO', 'SERIAL', '流水号部分', 5, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 04:06:05', 'admin', '2022-08-30 19:02:30');
INSERT INTO `sys_auto_code_part` VALUES (202, 202, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'C', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 04:07:09', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (203, 202, 2, 'SERIALNO', 'SERIAL', '流水号部分', 5, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 04:07:46', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (204, 201, 2, 'SERIALNO', 'P2', '流水号', 2, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 11:55:43', 'admin', '2022-08-24 12:08:38');
INSERT INTO `sys_auto_code_part` VALUES (206, 201, 1, 'FIXCHAR', 'P1', '前缀', 10, NULL, NULL, 'ITEM_TYPE_', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 12:05:16', 'admin', '2022-08-24 12:06:50');
INSERT INTO `sys_auto_code_part` VALUES (207, 209, 1, 'FIXCHAR', 'PREFIX', '固定前缀', 4, NULL, NULL, 'TASK', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 12:28:17', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (208, 209, 2, 'NOWDATE', 'YEAR', '年份', 4, 'yyyy', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 12:28:48', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (209, 209, 3, 'SERIALNO', 'SERIAL', '流水号', 4, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'YEAR', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 12:29:54', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (210, 210, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'I', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 14:56:48', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (211, 210, 2, 'SERIALNO', 'SERIAL', '流水号', 4, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 14:57:17', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (212, 211, 1, 'FIXCHAR', 'PREFIX', '前缀', 2, NULL, NULL, 'MO', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:35:02', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (213, 211, 2, 'NOWDATE', 'DATEPART', '年月日部分', 8, 'yyyyMMdd', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:35:26', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (214, 211, 3, 'SERIALNO', 'SERIAL', '流水号部分', 4, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'DAY', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:36:16', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (215, 212, 1, 'FIXCHAR', 'PREFIX', '前缀', 2, NULL, NULL, 'WS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:51:08', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (216, 212, 2, 'SERIALNO', 'SERIAL', '流水号', 4, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:51:36', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (217, 213, 1, 'FIXCHAR', 'PREFIX', '前缀', 4, NULL, NULL, 'PLAN', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:29:36', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (218, 213, 2, 'NOWDATE', 'YEAR', '年', 4, 'yyyy', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:29:58', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (219, 213, 3, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'YEAR', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:30:28', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (220, 214, 1, 'FIXCHAR', 'PREFIX', '固定前缀', 1, NULL, NULL, 'T', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:34:09', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (221, 214, 2, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:34:34', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (222, 215, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'M', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-30 15:58:39', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (224, 208, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'M', 1, 1, NULL, 'N', NULL, '备注', NULL, NULL, 0, 0, 'admin', '2022-08-30 16:03:40', 'admin', '2022-08-30 19:04:27');
INSERT INTO `sys_auto_code_part` VALUES (226, 208, 2, 'SERIALNO', 'SERIAL', '流水号部分', 5, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-30 19:03:26', 'admin', '2022-08-30 19:04:21');
INSERT INTO `sys_auto_code_part` VALUES (227, 216, 1, 'FIXCHAR', 'PREFIX', '固定前缀', 3, NULL, NULL, 'SUB', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-30 19:22:31', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (228, 216, 2, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-30 19:23:53', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (229, 215, 2, 'SERIALNO', 'SERIAL', '流水号', 4, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-30 19:34:24', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (230, 217, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'R', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 10:51:12', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (231, 217, 2, 'NOWDATE', 'DATE', '日期', 7, 'yyyyMMdd', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 10:52:09', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (232, 217, 3, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'DAY', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 10:53:08', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (233, 203, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'V', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 11:52:50', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (234, 203, 2, 'SERIALNO', 'SERIAL', '流水号', 5, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 11:53:30', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (235, 218, 1, 'FIXCHAR', 'PREFIX', '前缀', 7, NULL, NULL, 'PROCESS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 11:57:33', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (236, 218, 2, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 11:58:32', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (237, 219, 1, 'FIXCHAR', 'PREFIX', '前缀', 1, NULL, NULL, 'R', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 12:04:12', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (238, 219, 2, 'SERIALNO', 'SERIAL', '流水号', 4, NULL, NULL, NULL, 1000, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 12:04:57', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (239, 204, 1, 'FIXCHAR', 'PREFIX', '前缀', 2, NULL, NULL, 'WS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 12:09:19', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (240, 204, 2, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 12:09:50', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (241, 220, 1, 'FIXCHAR', 'PREFIX', '前缀', 2, NULL, NULL, 'DF', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 17:57:16', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (242, 220, 2, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'N', NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 17:57:51', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (243, 221, 1, 'FIXCHAR', 'PREFIX', '前缀', 3, NULL, NULL, 'QCT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:00:10', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (244, 221, 2, 'NOWDATE', 'YEAR', '年份', 4, 'yyyy', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:00:35', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (245, 221, 3, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'YEAR', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:01:23', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (246, 222, 1, 'FIXCHAR', 'PREFIX', '前缀', 3, NULL, NULL, 'RTV', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:10:44', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (247, 222, 2, 'NOWDATE', 'DATE', '日期', 8, 'yyyyMMdd', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:11:29', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (248, 222, 3, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'DAY', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:12:08', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (249, 223, 1, 'FIXCHAR', 'PREFIX', '前缀', 4, NULL, NULL, 'PLAN', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:17:09', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (250, 223, 2, 'NOWDATE', 'YEAR', '年份', 4, 'yyyy', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:17:38', '', NULL);
INSERT INTO `sys_auto_code_part` VALUES (251, 223, 3, 'SERIALNO', 'SERIAL', '流水号', 3, NULL, NULL, NULL, 1, 1, NULL, 'Y', 'YEAR', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:18:27', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_auto_code_result
-- ----------------------------
DROP TABLE IF EXISTS `sys_auto_code_result`;
CREATE TABLE `sys_auto_code_result` (
  `code_id` bigint NOT NULL AUTO_INCREMENT COMMENT '记录ID',
  `rule_id` bigint NOT NULL COMMENT '规则ID',
  `gen_date` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '生成日期时间',
  `gen_index` int DEFAULT NULL COMMENT '最后产生的序号',
  `last_result` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '最后产生的值',
  `last_serial_no` int DEFAULT NULL COMMENT '最后产生的流水号',
  `last_input_char` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '最后传入的参数',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`code_id`)
) ENGINE=InnoDB AUTO_INCREMENT=223 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='编码生成记录表';

-- ----------------------------
-- Records of sys_auto_code_result
-- ----------------------------
BEGIN;
INSERT INTO `sys_auto_code_result` VALUES (200, 202, '20220831114447', 34, 'C00034', 34, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 04:07:50', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (201, 201, '20220824120924', 2, 'ITEM_TYPE_02', 2, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 12:08:48', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (202, 200, '20220831230939', 18, 'C00018', 18, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 12:11:07', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (203, 209, '20220828105930', 8, 'TASK20220008', 8, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 12:29:57', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (204, 210, '20220831175844', 3, 'I0003', 3, NULL, '', NULL, NULL, 0, 0, '', '2022-08-24 14:57:22', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (205, 211, '20220828103906', 4, 'MO202208280004', 4, NULL, '', NULL, NULL, 0, 0, '', '2022-08-28 10:36:23', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (206, 212, '20220831121403', 5, 'WS0005', 5, NULL, '', NULL, NULL, 0, 0, '', '2022-08-28 10:51:40', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (207, 213, '20220831110157', 12, 'PLAN2022012', 12, NULL, '', NULL, NULL, 0, 0, '', '2022-08-29 10:30:38', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (208, 214, '20220831103936', 4, 'T004', 4, NULL, '', NULL, NULL, 0, 0, '', '2022-08-29 10:35:03', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (209, 208, '20220830191632', 15, 'M00018', 18, NULL, '', NULL, NULL, 0, 0, '', '2022-08-30 16:04:10', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (210, 216, '20220831181955', 3, 'SUB003', 3, NULL, '', NULL, NULL, 0, 0, '', '2022-08-30 19:24:26', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (211, 215, '20220830193459', 1, 'M0001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-30 19:34:34', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (212, 203, '20220831115426', 1, 'V00001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 11:54:00', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (213, 218, '20220831120127', 2, 'PROCESS002', 2, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 11:58:54', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (214, 219, '20220831121356', 3, 'R1002', 1002, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 12:05:14', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (215, 204, '20220831121056', 1, 'WS001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 12:10:31', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (216, 204, '20220831121111', 1, 'WS002', 2, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 12:10:45', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (217, 217, '20220831145757', 2, 'R20220831002', 2, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 14:56:17', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (218, 211, '20220831183738', 6, 'MO202208310006', 6, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 17:48:11', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (219, 220, '20220831175837', 1, 'DF001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 17:58:11', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (220, 221, '20220831180207', 1, 'QCT2022001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 18:01:42', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (221, 222, '20220831181244', 1, 'RTV20220831001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 18:12:19', '', NULL);
INSERT INTO `sys_auto_code_result` VALUES (222, 223, '20220831181859', 1, 'PLAN2022001', 1, NULL, '', NULL, NULL, 0, 0, '', '2022-08-31 18:18:33', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_auto_code_rule
-- ----------------------------
DROP TABLE IF EXISTS `sys_auto_code_rule`;
CREATE TABLE `sys_auto_code_rule` (
  `rule_id` bigint NOT NULL AUTO_INCREMENT COMMENT '规则ID',
  `rule_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则编码',
  `rule_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则名称',
  `rule_desc` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '描述',
  `max_length` int DEFAULT NULL COMMENT '最大长度',
  `is_padded` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否补齐',
  `padded_char` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '补齐字符',
  `padded_method` char(1) COLLATE utf8mb4_general_ci DEFAULT 'L' COMMENT '补齐方式',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`rule_id`),
  UNIQUE KEY `idx_rule_code` (`rule_code`)
) ENGINE=InnoDB AUTO_INCREMENT=224 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='编码生成规则表';

-- ----------------------------
-- Records of sys_auto_code_rule
-- ----------------------------
BEGIN;
INSERT INTO `sys_auto_code_rule` VALUES (200, 'ITEM_CODE', '物料规则', NULL, 10, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:55:27', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (201, 'ITEM_TYPE_CODE', '物料分类编码', NULL, 14, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:55:51', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (202, 'CLIENT_CODE', '客户编码规则', NULL, 6, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:56:11', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (203, 'VENDOR_CODE', '供应商编码规则', NULL, 6, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:56:31', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (204, 'WORKSHOP_CODE', '车间编码生成规则', NULL, 5, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:56:54', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (205, 'WAREHOUSE_CODE', '仓库编码规则', NULL, 8, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:57:14', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (206, 'LOCATION_CODE', '库区编码规则', '5', 5, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:57:30', 'admin', '2022-08-24 03:58:39');
INSERT INTO `sys_auto_code_rule` VALUES (207, 'AREA_CODE', '库位编码规则', '5', 4, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:57:46', 'admin', '2022-08-24 03:58:44');
INSERT INTO `sys_auto_code_rule` VALUES (208, 'MACHINERY_TYPE_CODE', '设备类型编码规则', '3', 10, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 03:58:04', 'admin', '2022-08-30 16:37:52');
INSERT INTO `sys_auto_code_rule` VALUES (209, 'TASK_CODE', '生产任务编码规则', NULL, 12, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 12:27:37', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (210, 'QC_INDEX_CODE', '检测项编码规则', NULL, 5, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-24 14:55:55', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (211, 'WORKORDER_CODE', '生产工单编码规则', NULL, 14, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:34:23', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (212, 'WORKSTATION_CODE', '工作站编码规则', NULL, 6, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-28 10:50:35', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (213, 'CAL_PLAN_CODE', '排班计划编号', NULL, 11, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:29:10', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (214, 'CAL_TEAM_CODE', '班组编码规则', NULL, 4, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-29 10:33:19', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (215, 'MACHINERY_CODE', '设备编码规则', NULL, 13, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'MES', '2022-08-30 15:30:39', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (216, 'SUBJECT_CODE', '设备点检保养项目编码', NULL, 6, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-30 19:21:49', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (217, 'ITEMRECPT_CODE', '物料入库单编码规则', NULL, 12, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 10:49:45', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (218, 'PROCESS_CODE', '工序编码规则', NULL, 10, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 11:56:53', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (219, 'ROUTE_CODE', '工艺流程编码规则', NULL, 5, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 12:03:31', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (220, 'DEFECT_CODE', '常见缺陷编码', NULL, 5, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 17:56:42', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (221, 'QC_TEMPLATE_CODE', '检测模板编码规则', NULL, 10, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 17:59:36', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (222, 'WM_RTVENDOR_CODE', '供应商退货单编码', NULL, 14, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:10:10', '', NULL);
INSERT INTO `sys_auto_code_rule` VALUES (223, 'CHECKPLAN_CODE', '点检编码规则', NULL, 11, 'N', NULL, 'L', 'Y', NULL, NULL, NULL, 0, 0, 'admin', '2022-08-31 18:16:41', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` int NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2022-08-24 02:56:38', '', NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2022-08-24 02:56:38', '', NULL, '初始化密码 123456');
INSERT INTO `sys_config` VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2022-08-24 02:56:38', '', NULL, '深色主题theme-dark，浅色主题theme-light');
INSERT INTO `sys_config` VALUES (4, '账号自助-验证码开关', 'sys.account.captchaOnOff', 'false', 'Y', 'admin', '2022-08-24 02:56:38', 'admin', '2022-08-24 16:21:48', '是否开启验证码功能（true开启，false关闭）');
INSERT INTO `sys_config` VALUES (5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2022-08-24 02:56:38', '', NULL, '是否开启注册用户功能（true开启，false关闭）');
COMMIT;

-- ----------------------------
-- Table structure for sys_data_source
-- ----------------------------
DROP TABLE IF EXISTS `sys_data_source`;
CREATE TABLE `sys_data_source` (
  `id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据源编码',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据源名称',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  `db_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据库类型',
  `db_driver` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '驱动类',
  `db_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据源地址',
  `db_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据库名称',
  `db_username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户名',
  `db_password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '密码',
  `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建日期',
  `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新日期',
  `sys_org_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所属部门',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_sdc_rule_code` (`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of sys_data_source
-- ----------------------------
BEGIN;
INSERT INTO `sys_data_source` VALUES ('1560894902458380290', 'erp-datasource', 'T6数据库测试服', 'T6数据库测试服\n', '3', 'com.microsoft.sqlserver.jdbc.SQLServerDriver', 'jdbc:sqlserver://data.gever.dev2.kyzone.cn:10008;SelectMethod=cursor;DatabaseName=UFDATA_010_2022', NULL, 'sa', '7f39128add1335d170ec011d61e68fdb', 'admin', '2022-08-20 15:41:59', 'admin', '2022-08-21 12:53:46', 'A01');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `leader` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮箱',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='部门表';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` VALUES (100, 0, '0', '鑫正', 0, '若依', '13800138000', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:38:01');
INSERT INTO `sys_dept` VALUES (101, 100, '0,100', 'xxx分公司', 1, '鑫正', '13800138000', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:39:28');
INSERT INTO `sys_dept` VALUES (102, 100, '0,100', 'xxx分公司02', 2, '鑫正', '13800138000', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:39:23');
INSERT INTO `sys_dept` VALUES (103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', '', NULL);
INSERT INTO `sys_dept` VALUES (104, 101, '0,100,101', '业务部门', 2, '鑫正', '13800138000', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:40:35');
INSERT INTO `sys_dept` VALUES (105, 101, '0,100,101', '厂部', 3, '若依', '13800138000', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:40:57');
INSERT INTO `sys_dept` VALUES (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', '', NULL);
INSERT INTO `sys_dept` VALUES (107, 101, '0,100,101', '行政部', 5, '鑫正', '13800013800', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:41:19');
INSERT INTO `sys_dept` VALUES (108, 102, '0,100,102', '业务部门', 1, '鑫正', '13800138000', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:41:36');
INSERT INTO `sys_dept` VALUES (109, 102, '0,100,102', '财务部门', 2, '鑫正', '13800013800', 'xz@qq.com', '0', '0', 'admin', '2022-08-24 02:56:37', 'admin', '2022-08-29 10:41:50');
INSERT INTO `sys_dept` VALUES (200, 108, '0,100,102,108', '佛山业务部门', 0, 'test001', '13111111111', '11097102647@qq.com', '1', '2', 'MES', '2022-08-30 15:45:20', 'MES', '2022-08-30 15:47:23');
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '性别男');
INSERT INTO `sys_dict_data` VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '性别女');
INSERT INTO `sys_dict_data` VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '性别未知');
INSERT INTO `sys_dict_data` VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '显示菜单');
INSERT INTO `sys_dict_data` VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '默认分组');
INSERT INTO `sys_dict_data` VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '系统分组');
INSERT INTO `sys_dict_data` VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '系统默认是');
INSERT INTO `sys_dict_data` VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '系统默认否');
INSERT INTO `sys_dict_data` VALUES (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '通知');
INSERT INTO `sys_dict_data` VALUES (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '公告');
INSERT INTO `sys_dict_data` VALUES (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '关闭状态');
INSERT INTO `sys_dict_data` VALUES (18, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '新增操作');
INSERT INTO `sys_dict_data` VALUES (19, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '修改操作');
INSERT INTO `sys_dict_data` VALUES (20, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '删除操作');
INSERT INTO `sys_dict_data` VALUES (21, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '授权操作');
INSERT INTO `sys_dict_data` VALUES (22, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '导出操作');
INSERT INTO `sys_dict_data` VALUES (23, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '导入操作');
INSERT INTO `sys_dict_data` VALUES (24, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '强退操作');
INSERT INTO `sys_dict_data` VALUES (25, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '生成操作');
INSERT INTO `sys_dict_data` VALUES (26, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '清空操作');
INSERT INTO `sys_dict_data` VALUES (27, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (28, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (100, 1, '物料', 'ITEM', 'mes_item_product', NULL, 'default', 'N', '0', 'admin', '2022-04-16 16:34:46', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (101, 2, '产品', 'PRODUCT', 'mes_item_product', NULL, 'default', 'N', '0', 'admin', '2022-04-16 16:35:02', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (102, 1, '输入字符', 'INPUTCHAR', 'sys_autocode_parttype', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:33:47', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (103, 2, '当前日期时间', 'NOWDATE', 'sys_autocode_parttype', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:34:07', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (104, 3, '固定字符', 'FIXCHAR', 'sys_autocode_parttype', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:34:27', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (105, 4, '流水号', 'SERIALNO', 'sys_autocode_parttype', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:34:53', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (106, 1, '按年', 'YEAR', 'sys_autocode_cyclemethod', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:35:17', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (107, 2, '按月', 'MONTH', 'sys_autocode_cyclemethod', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:35:29', 'admin', '2022-04-26 15:35:55', NULL);
INSERT INTO `sys_dict_data` VALUES (108, 3, '按天', 'DAY', 'sys_autocode_cyclemethod', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:36:13', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (109, 4, '按小时', 'HOUR', 'sys_autocode_cyclemethod', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:36:34', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (110, 5, '按分钟', 'MINUTE', 'sys_autocode_cyclemethod', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:36:59', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (111, 6, '按传入字符', 'OTHER', 'sys_autocode_cyclemethod', NULL, 'default', 'N', '0', 'admin', '2022-04-26 15:37:19', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (112, 1, '企业客户', 'ENTERPRISE', 'mes_client_type', NULL, 'default', 'N', '0', 'admin', '2022-05-06 20:54:37', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (113, 2, '个人', 'PERSON', 'mes_client_type', NULL, 'default', 'N', '0', 'admin', '2022-05-06 20:55:00', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (114, 1, '优质供应商', 'A', 'mes_vendor_level', NULL, 'default', 'N', '0', 'admin', '2022-05-06 22:45:52', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (115, 2, '正常', 'B', 'mes_vendor_level', NULL, 'default', 'N', '0', 'admin', '2022-05-06 22:46:02', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (116, 3, '重点关注', 'C', 'mes_vendor_level', NULL, 'default', 'N', '0', 'admin', '2022-05-06 22:46:15', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (117, 4, '劣质供应商', 'D', 'mes_vendor_level', NULL, 'default', 'N', '0', 'admin', '2022-05-06 22:46:41', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (118, 5, '黑名单', 'E', 'mes_vendor_level', NULL, 'default', 'N', '0', 'admin', '2022-05-06 22:46:54', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (119, 1, '草稿', 'PREPARE', 'mes_order_status', NULL, 'default', 'N', '0', 'admin', '2022-05-09 10:35:34', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (120, 2, '已确认', 'CONFIRMED', 'mes_order_status', NULL, 'default', 'N', '0', 'admin', '2022-05-09 10:36:37', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (121, 3, '审批中', 'APPROVING', 'mes_order_status', NULL, 'default', 'N', '0', 'admin', '2022-05-09 10:39:30', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (122, 4, '已审批', 'APPROVED', 'mes_order_status', NULL, 'default', 'N', '0', 'admin', '2022-05-09 10:39:45', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (123, 5, '已完成', 'FINISHED', 'mes_order_status', NULL, 'default', 'N', '0', 'admin', '2022-05-09 10:40:07', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (124, 1, '客户订单', 'ORDER', 'mes_workorder_sourcetype', NULL, 'default', 'N', '0', 'admin', '2022-05-09 11:23:47', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (125, 2, '库存备货', 'STORE', 'mes_workorder_sourcetype', NULL, 'default', 'N', '0', 'admin', '2022-05-09 11:24:04', 'admin', '2022-05-09 11:24:24', NULL);
INSERT INTO `sys_dict_data` VALUES (126, 1, '定期维护', 'REGULAR', 'mes_mainten_type', NULL, 'default', 'N', '0', 'admin', '2022-05-10 23:40:57', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (127, 2, '按使用次数维护', 'USAGE', 'mes_mainten_type', NULL, 'default', 'N', '0', 'admin', '2022-05-10 23:41:31', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (128, 1, '在库', 'STORE', 'mes_tool_status', NULL, 'default', 'N', '0', 'admin', '2022-05-11 20:51:13', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (129, 2, '被领用', 'ISSUE', 'mes_tool_status', NULL, 'default', 'N', '0', 'admin', '2022-05-11 20:51:36', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (130, 3, '报废', 'SCRAP', 'mes_tool_status', NULL, 'default', 'N', '0', 'admin', '2022-05-11 20:52:02', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (131, 4, '维修中', 'REPARE', 'mes_tool_status', NULL, 'default', 'N', '0', 'admin', '2022-05-11 20:52:20', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (132, 1, 'S-to-S', 'SS', 'mes_link_type', NULL, 'default', 'N', '0', 'admin', '2022-05-13 21:51:28', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (133, 2, 'F-to-F', 'FF', 'mes_link_type', NULL, 'default', 'N', '0', 'admin', '2022-05-13 21:51:51', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (134, 3, 'S-to-F', 'SF', 'mes_link_type', NULL, 'default', 'N', '0', 'admin', '2022-05-13 21:52:05', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (135, 4, 'F-to-S', 'FS', 'mes_link_type', NULL, 'default', 'N', '0', 'admin', '2022-05-13 21:52:21', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (136, 1, '秒', 'SECOND', 'mes_time_type', NULL, 'default', 'N', '0', 'admin', '2022-05-14 08:41:14', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (137, 2, '分钟', 'MINUTE', 'mes_time_type', NULL, 'default', 'N', '0', 'admin', '2022-05-14 08:41:25', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (138, 3, '小时', 'HOUR', 'mes_time_type', NULL, 'default', 'N', '0', 'admin', '2022-05-14 08:41:46', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (139, 4, '天', 'DAY', 'mes_time_type', NULL, 'default', 'N', '0', 'admin', '2022-05-14 08:41:57', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (140, 5, '周', 'WEEK', 'mes_time_type', NULL, 'default', 'N', '0', 'admin', '2022-05-14 08:42:12', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (141, 6, '月', 'MONTH', 'mes_time_type', NULL, 'default', 'N', '0', 'admin', '2022-05-14 08:42:26', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (142, 1, '尺寸', 'SIZE', 'mes_index_type', NULL, 'default', 'N', '0', 'admin', '2022-05-17 21:26:34', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (143, 2, '外观', 'APPEARANCE', 'mes_index_type', NULL, 'default', 'N', '0', 'admin', '2022-05-17 21:28:19', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (144, 3, '重量', 'WEIGHT', 'mes_index_type', NULL, 'default', 'N', '0', 'admin', '2022-05-17 21:28:31', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (145, 4, '性能', 'PERFORMANCE', 'mes_index_type', NULL, 'default', 'N', '0', 'admin', '2022-05-17 21:29:28', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (146, 5, '成分', 'COMPONENT', 'mes_index_type', NULL, 'default', 'N', '0', 'admin', '2022-05-17 21:30:34', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (147, 1, '[来料检验]', 'IQC', 'mes_qc_type', NULL, 'default', 'N', '0', 'admin', '2022-05-18 09:38:58', 'admin', '2022-05-18 10:38:43', NULL);
INSERT INTO `sys_dict_data` VALUES (148, 2, '[首检]', 'FIRST_CHECK', 'mes_qc_type', NULL, 'default', 'N', '0', 'admin', '2022-05-18 09:39:19', 'admin', '2022-05-18 10:38:50', NULL);
INSERT INTO `sys_dict_data` VALUES (149, 3, '[末检]', 'FINAL_CHECK', 'mes_qc_type', NULL, 'default', 'N', '0', 'admin', '2022-05-18 09:39:46', 'admin', '2022-05-18 10:38:57', NULL);
INSERT INTO `sys_dict_data` VALUES (150, 4, '[巡检]', 'REGULAR_CHECK', 'mes_qc_type', NULL, 'default', 'N', '0', 'admin', '2022-05-18 09:40:05', 'admin', '2022-05-18 10:39:02', NULL);
INSERT INTO `sys_dict_data` VALUES (151, 5, '[成品检验]', 'FQC', 'mes_qc_type', NULL, 'default', 'N', '0', 'admin', '2022-05-18 09:40:27', 'admin', '2022-05-18 10:39:08', NULL);
INSERT INTO `sys_dict_data` VALUES (152, 6, '[发货检验]', 'OQC', 'mes_qc_type', NULL, 'default', 'N', '0', 'admin', '2022-05-18 09:40:52', 'admin', '2022-05-18 10:39:14', NULL);
INSERT INTO `sys_dict_data` VALUES (153, 1, '致命缺陷', 'CR', 'mes_defect_level', NULL, 'default', 'N', '0', 'admin', '2022-05-19 10:24:05', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (154, 2, '严重缺陷', 'MAJ', 'mes_defect_level', NULL, 'default', 'N', '0', 'admin', '2022-05-19 10:24:20', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (155, 3, '轻微缺陷', 'MIN', 'mes_defect_level', NULL, 'default', 'N', '0', 'admin', '2022-05-19 10:24:33', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (156, 1, '检验通过', 'ACCEPT', 'mes_qc_result', NULL, 'default', 'N', '0', 'admin', '2022-05-19 16:38:07', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (157, 2, '检验不通过', 'REJECT', 'mes_qc_result', NULL, 'default', 'N', '0', 'admin', '2022-05-19 16:38:22', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (159, 1, '白班', 'SINGLE', 'mes_shift_type', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:33:56', 'admin', '2022-06-06 21:35:05', NULL);
INSERT INTO `sys_dict_data` VALUES (160, 2, '两班倒', 'SHIFT_TWO', 'mes_shift_type', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:34:19', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (161, 3, '三班倒', 'SHIFT_THREE', 'mes_shift_type', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:34:38', 'admin', '2022-06-06 21:34:45', NULL);
INSERT INTO `sys_dict_data` VALUES (162, 1, '按天', 'DAY', 'mes_shift_method', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:39:51', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (163, 2, '按周', 'WEEK', 'mes_shift_method', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:40:14', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (164, 3, '按月', 'MONTH', 'mes_shift_method', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:40:31', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (165, 4, '按季度', 'QUARTER', 'mes_shift_method', NULL, 'default', 'N', '0', 'admin', '2022-06-06 21:40:55', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (166, 1, '配料', 'PL', 'mes_calendar_type', NULL, 'default', 'N', '0', 'admin', '2022-06-08 13:27:23', 'admin', '2022-08-24 15:51:41', NULL);
INSERT INTO `sys_dict_data` VALUES (167, 2, '生产', 'SC', 'mes_calendar_type', NULL, 'default', 'N', '0', 'admin', '2022-06-08 13:27:35', 'admin', '2022-08-24 15:51:50', NULL);
INSERT INTO `sys_dict_data` VALUES (168, 3, '品管', 'PG', 'mes_calendar_type', NULL, 'default', 'N', '0', 'admin', '2022-06-08 13:27:55', 'admin', '2022-08-24 15:52:03', NULL);
INSERT INTO `sys_dict_data` VALUES (169, 4, '仓库', 'CK', 'mes_calendar_type', NULL, 'default', 'N', '0', 'admin', '2022-06-08 13:28:24', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (170, 1, '设备点检', 'CHECK', 'mes_dvsubject_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 16:50:51', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (171, 2, '设备保养', 'MAINTEN', 'mes_dvsubject_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 16:51:19', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (172, 1, '小时', 'HOUR', 'mes_cycle_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 20:47:54', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (173, 2, '天', 'DAY', 'mes_cycle_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 20:49:07', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (174, 3, '周', 'WEEK', 'mes_cycle_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 20:49:21', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (175, 4, '月', 'MONTH', 'mes_cycle_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 20:49:32', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (176, 5, '季度', 'QUARTER', 'mes_cycle_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 20:50:00', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (177, 6, '年', 'YEAR', 'mes_cycle_type', NULL, 'default', 'N', '0', 'admin', '2022-06-16 20:50:22', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (178, 1, '设备点检计划', 'CHECK', 'dv_plan_type', NULL, 'default', 'N', '0', 'admin', '2022-06-19 17:03:44', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (179, 2, '设备保养计划', 'MAINTEN', 'dv_plan_type', NULL, 'default', 'N', '0', 'admin', '2022-06-19 17:03:56', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (180, 0, '意向下单', '50', 'mes_scales_order_status', NULL, 'default', 'N', '0', 'admin', '2022-08-31 19:28:46', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (181, 1, '未交定金', '100', 'mes_scales_order_status', NULL, 'default', 'N', '0', 'admin', '2022-08-31 19:30:05', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (182, 2, '已交定金', '150', 'mes_scales_order_status', NULL, 'default', 'N', '0', 'admin', '2022-08-31 19:30:29', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (183, 3, '开始生产', '200', 'mes_scales_order_status', NULL, 'default', 'N', '0', 'admin', '2022-08-31 19:30:59', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (184, 4, '生产完成', '250', 'mes_scales_order_status', NULL, 'default', 'N', '0', 'admin', '2022-08-31 19:31:13', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `dict_type` (`dict_type`)
) ENGINE=InnoDB AUTO_INCREMENT=124 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '用户性别列表');
INSERT INTO `sys_dict_type` VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '系统开关列表');
INSERT INTO `sys_dict_type` VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '任务状态列表');
INSERT INTO `sys_dict_type` VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '任务分组列表');
INSERT INTO `sys_dict_type` VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '系统是否列表');
INSERT INTO `sys_dict_type` VALUES (7, '通知类型', 'sys_notice_type', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '通知类型列表');
INSERT INTO `sys_dict_type` VALUES (8, '通知状态', 'sys_notice_status', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '通知状态列表');
INSERT INTO `sys_dict_type` VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '操作类型列表');
INSERT INTO `sys_dict_type` VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-04-07 00:29:32', '', NULL, '登录状态列表');
INSERT INTO `sys_dict_type` VALUES (100, '物料or产品', 'mes_item_product', '0', 'admin', '2022-04-16 16:34:20', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (101, '编码规则组成类型', 'sys_autocode_parttype', '0', 'admin', '2022-04-26 15:32:42', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (102, '编码规则组成循环方式', 'sys_autocode_cyclemethod', '0', 'admin', '2022-04-26 15:33:02', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (103, '客户类型', 'mes_client_type', '0', 'admin', '2022-05-06 20:53:28', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (104, '供应商级别', 'mes_vendor_level', '0', 'admin', '2022-05-06 22:44:56', 'admin', '2022-05-06 22:45:35', NULL);
INSERT INTO `sys_dict_type` VALUES (105, '单据状态【通用】', 'mes_order_status', '0', 'admin', '2022-05-09 10:34:41', 'admin', '2022-05-09 10:35:10', NULL);
INSERT INTO `sys_dict_type` VALUES (106, '生产工单来源', 'mes_workorder_sourcetype', '0', 'admin', '2022-05-09 11:23:22', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (107, '维护类型表', 'mes_mainten_type', '0', 'admin', '2022-05-10 23:40:36', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (108, '工装夹具状态', 'mes_tool_status', '0', 'admin', '2022-05-11 20:50:46', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (109, '工序关系类型', 'mes_link_type', '0', 'admin', '2022-05-13 21:50:44', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (110, '时间单位', 'mes_time_type', '0', 'admin', '2022-05-14 08:40:53', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (111, '检测项类型', 'mes_index_type', '0', 'admin', '2022-05-17 21:26:05', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (112, '检测类型', 'mes_qc_type', '0', 'admin', '2022-05-18 09:38:32', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (113, '缺陷等级', 'mes_defect_level', '0', 'admin', '2022-05-19 10:23:38', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (114, '检验结果', 'mes_qc_result', '0', 'admin', '2022-05-19 16:37:45', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (116, '倒班方式', 'mes_shift_type', '0', 'admin', '2022-06-06 21:33:17', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (117, '轮班方式', 'mes_shift_method', '0', 'admin', '2022-06-06 21:39:26', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (118, '排班类型', 'mes_calendar_type', '0', 'admin', '2022-06-08 13:26:56', '', NULL, NULL);
INSERT INTO `sys_dict_type` VALUES (119, '设备点检保养项目类型', 'mes_dvsubject_type', '0', 'admin', '2022-06-16 16:50:14', 'admin', '2022-06-16 16:50:29', NULL);
INSERT INTO `sys_dict_type` VALUES (120, '设备点检频率', 'mes_cycle_type', '0', 'admin', '2022-06-16 20:47:19', 'admin', '2022-06-16 20:51:22', NULL);
INSERT INTO `sys_dict_type` VALUES (121, '设备点检保养计划类型', 'dv_plan_type', '0', 'admin', '2022-06-19 17:03:18', 'admin', '2022-06-19 17:04:17', NULL);
INSERT INTO `sys_dict_type` VALUES (123, '销售订单状态', 'mes_scales_order_status', '0', 'admin', '2022-08-31 19:27:12', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_job
-- ----------------------------
DROP TABLE IF EXISTS `sys_job`;
CREATE TABLE `sys_job` (
  `job_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='定时任务调度表';

-- ----------------------------
-- Records of sys_job
-- ----------------------------
BEGIN;
INSERT INTO `sys_job` VALUES (1, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', '0 0 */1 * * ?', '1', '1', '0', 'admin', '2022-08-24 02:56:38', 'admin', '2022-08-26 15:51:51', '');
INSERT INTO `sys_job` VALUES (2, '同步计量单位', 'DEFAULT', 'unitMeasureDataTask.execute()', '* * 0/1 * * ?', '3', '1', '1', 'admin', '2022-08-24 02:56:38', 'admin', '2022-08-30 11:23:50', '');
INSERT INTO `sys_job` VALUES (3, '系统默认（多参）', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2022-08-24 02:56:38', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_job_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_job_log`;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日志信息',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`)
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='定时任务调度日志表';

-- ----------------------------
-- Records of sys_job_log
-- ----------------------------
BEGIN;
INSERT INTO `sys_job_log` VALUES (1, '同步计量单位', 'DEFAULT', 'unitMeasureDataTask.execute()', '同步计量单位 总共耗时：57毫秒', '0', '', '2022-08-30 14:54:50');
INSERT INTO `sys_job_log` VALUES (2, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：6969毫秒', '0', '', '2022-08-30 14:59:42');
INSERT INTO `sys_job_log` VALUES (3, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2161毫秒', '0', '', '2022-08-30 15:00:02');
INSERT INTO `sys_job_log` VALUES (4, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：9291毫秒', '0', '', '2022-08-30 15:00:09');
INSERT INTO `sys_job_log` VALUES (5, '同步计量单位', 'DEFAULT', 'unitMeasureDataTask.execute()', '同步计量单位 总共耗时：6955毫秒', '0', '', '2022-08-30 15:01:20');
INSERT INTO `sys_job_log` VALUES (6, '同步计量单位', 'DEFAULT', 'unitMeasureDataTask.execute()', '同步计量单位 总共耗时：42082毫秒', '0', '', '2022-08-30 15:10:24');
INSERT INTO `sys_job_log` VALUES (7, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8205毫秒', '0', '', '2022-08-30 15:59:43');
INSERT INTO `sys_job_log` VALUES (8, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2063毫秒', '0', '', '2022-08-30 16:00:02');
INSERT INTO `sys_job_log` VALUES (9, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：6700毫秒', '0', '', '2022-08-30 16:00:06');
INSERT INTO `sys_job_log` VALUES (10, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8045毫秒', '0', '', '2022-08-30 16:59:43');
INSERT INTO `sys_job_log` VALUES (11, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：5398毫秒', '0', '', '2022-08-30 17:00:05');
INSERT INTO `sys_job_log` VALUES (12, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7256毫秒', '0', '', '2022-08-30 17:00:07');
INSERT INTO `sys_job_log` VALUES (13, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1980毫秒', '0', '', '2022-08-30 18:00:01');
INSERT INTO `sys_job_log` VALUES (14, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7327毫秒', '0', '', '2022-08-30 18:00:07');
INSERT INTO `sys_job_log` VALUES (15, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7528毫秒', '0', '', '2022-08-30 18:59:42');
INSERT INTO `sys_job_log` VALUES (16, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1706毫秒', '0', '', '2022-08-30 19:00:01');
INSERT INTO `sys_job_log` VALUES (17, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7006毫秒', '0', '', '2022-08-30 19:00:07');
INSERT INTO `sys_job_log` VALUES (18, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7589毫秒', '0', '', '2022-08-30 19:59:42');
INSERT INTO `sys_job_log` VALUES (19, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1977毫秒', '0', '', '2022-08-30 20:00:01');
INSERT INTO `sys_job_log` VALUES (20, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：32864毫秒', '0', '', '2022-08-30 20:02:36');
INSERT INTO `sys_job_log` VALUES (21, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1890毫秒', '0', '', '2022-08-30 21:00:01');
INSERT INTO `sys_job_log` VALUES (22, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：36582毫秒', '0', '', '2022-08-30 21:48:06');
INSERT INTO `sys_job_log` VALUES (23, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1960毫秒', '0', '', '2022-08-30 22:00:01');
INSERT INTO `sys_job_log` VALUES (24, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：6584毫秒', '0', '', '2022-08-30 23:00:06');
INSERT INTO `sys_job_log` VALUES (25, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2290毫秒', '0', '', '2022-08-31 00:00:02');
INSERT INTO `sys_job_log` VALUES (26, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2210毫秒', '0', '', '2022-08-31 01:00:02');
INSERT INTO `sys_job_log` VALUES (27, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1956毫秒', '0', '', '2022-08-31 02:00:01');
INSERT INTO `sys_job_log` VALUES (28, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1486毫秒', '0', '', '2022-08-31 03:00:01');
INSERT INTO `sys_job_log` VALUES (29, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1706毫秒', '0', '', '2022-08-31 04:00:01');
INSERT INTO `sys_job_log` VALUES (30, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2715毫秒', '0', '', '2022-08-31 05:00:02');
INSERT INTO `sys_job_log` VALUES (31, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2247毫秒', '0', '', '2022-08-31 06:00:02');
INSERT INTO `sys_job_log` VALUES (32, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2000毫秒', '0', '', '2022-08-31 07:00:02');
INSERT INTO `sys_job_log` VALUES (33, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1911毫秒', '0', '', '2022-08-31 08:00:01');
INSERT INTO `sys_job_log` VALUES (34, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1829毫秒', '0', '', '2022-08-31 09:00:01');
INSERT INTO `sys_job_log` VALUES (35, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：5743毫秒', '0', '', '2022-08-31 10:00:05');
INSERT INTO `sys_job_log` VALUES (36, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7719毫秒', '0', '', '2022-08-31 10:59:42');
INSERT INTO `sys_job_log` VALUES (37, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1901毫秒', '0', '', '2022-08-31 11:00:01');
INSERT INTO `sys_job_log` VALUES (38, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：7797毫秒', '0', '', '2022-08-31 11:59:42');
INSERT INTO `sys_job_log` VALUES (39, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2108毫秒', '0', '', '2022-08-31 12:00:02');
INSERT INTO `sys_job_log` VALUES (40, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1806毫秒', '0', '', '2022-08-31 13:00:01');
INSERT INTO `sys_job_log` VALUES (41, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：4125毫秒', '0', '', '2022-08-31 14:00:04');
INSERT INTO `sys_job_log` VALUES (42, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8969毫秒', '0', '', '2022-08-31 14:17:47');
INSERT INTO `sys_job_log` VALUES (43, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8437毫秒', '0', '', '2022-08-31 14:17:55');
INSERT INTO `sys_job_log` VALUES (44, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8537毫秒', '0', '', '2022-08-31 14:59:43');
INSERT INTO `sys_job_log` VALUES (45, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1880毫秒', '0', '', '2022-08-31 15:00:01');
INSERT INTO `sys_job_log` VALUES (46, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：6299毫秒', '0', '', '2022-08-31 16:00:06');
INSERT INTO `sys_job_log` VALUES (47, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1962毫秒', '0', '', '2022-08-31 17:00:01');
INSERT INTO `sys_job_log` VALUES (48, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：10732毫秒', '0', '', '2022-08-31 17:59:45');
INSERT INTO `sys_job_log` VALUES (49, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2059毫秒', '0', '', '2022-08-31 18:00:02');
INSERT INTO `sys_job_log` VALUES (50, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：9059毫秒', '0', '', '2022-08-31 18:59:43');
INSERT INTO `sys_job_log` VALUES (51, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1761毫秒', '0', '', '2022-08-31 19:00:01');
INSERT INTO `sys_job_log` VALUES (52, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8824毫秒', '0', '', '2022-08-31 19:59:43');
INSERT INTO `sys_job_log` VALUES (53, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1594毫秒', '0', '', '2022-08-31 20:00:01');
INSERT INTO `sys_job_log` VALUES (54, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2311毫秒', '0', '', '2022-08-31 21:00:02');
INSERT INTO `sys_job_log` VALUES (55, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8664毫秒', '0', '', '2022-08-31 21:59:43');
INSERT INTO `sys_job_log` VALUES (56, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1793毫秒', '0', '', '2022-08-31 22:00:01');
INSERT INTO `sys_job_log` VALUES (57, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：5632毫秒', '0', '', '2022-08-31 22:59:40');
INSERT INTO `sys_job_log` VALUES (58, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1861毫秒', '0', '', '2022-08-31 23:00:01');
INSERT INTO `sys_job_log` VALUES (59, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8251毫秒', '0', '', '2022-08-31 23:59:43');
INSERT INTO `sys_job_log` VALUES (60, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1854毫秒', '0', '', '2022-09-01 00:00:01');
INSERT INTO `sys_job_log` VALUES (61, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：8994毫秒', '0', '', '2022-09-01 01:00:08');
INSERT INTO `sys_job_log` VALUES (62, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2305毫秒', '0', '', '2022-09-01 02:00:02');
INSERT INTO `sys_job_log` VALUES (63, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2221毫秒', '0', '', '2022-09-01 03:00:02');
INSERT INTO `sys_job_log` VALUES (64, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2368毫秒', '0', '', '2022-09-01 04:00:02');
INSERT INTO `sys_job_log` VALUES (65, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2620毫秒', '0', '', '2022-09-01 05:00:02');
INSERT INTO `sys_job_log` VALUES (66, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1676毫秒', '0', '', '2022-09-01 06:00:01');
INSERT INTO `sys_job_log` VALUES (67, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2581毫秒', '0', '', '2022-09-01 07:00:02');
INSERT INTO `sys_job_log` VALUES (68, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1667毫秒', '0', '', '2022-09-01 08:00:01');
INSERT INTO `sys_job_log` VALUES (69, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：1631毫秒', '0', '', '2022-09-01 09:00:01');
INSERT INTO `sys_job_log` VALUES (70, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2048毫秒', '0', '', '2022-09-01 10:00:02');
INSERT INTO `sys_job_log` VALUES (71, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：10054毫秒', '0', '', '2022-09-01 10:59:44');
INSERT INTO `sys_job_log` VALUES (72, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：2242毫秒', '0', '', '2022-09-01 11:00:02');
INSERT INTO `sys_job_log` VALUES (73, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：9396毫秒', '0', '', '2022-09-01 11:59:43');
INSERT INTO `sys_job_log` VALUES (74, 'T6 ERP存货分类同步', 'DEFAULT', 'inventoryCatSyncDataTask.execute', 'T6 ERP存货分类同步 总共耗时：3021毫秒', '0', '', '2022-09-01 12:00:03');
COMMIT;

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `user_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户账号',
  `ipaddr` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作系统',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`)
) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='系统访问记录';

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------
BEGIN;
INSERT INTO `sys_logininfor` VALUES (100, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 03:38:38');
INSERT INTO `sys_logininfor` VALUES (101, 'admin', '192.168.3.180', '内网IP', 'Chrome 52', 'Android 1.x', '0', '登录成功', '2022-08-24 10:58:49');
INSERT INTO `sys_logininfor` VALUES (102, 'admin', '192.168.3.180', '内网IP', 'Chrome 52', 'Android 1.x', '0', '登录成功', '2022-08-24 11:19:45');
INSERT INTO `sys_logininfor` VALUES (103, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 11:21:30');
INSERT INTO `sys_logininfor` VALUES (104, 'admin', '192.168.3.180', '内网IP', 'Chrome 52', 'Android 1.x', '0', '登录成功', '2022-08-24 11:36:52');
INSERT INTO `sys_logininfor` VALUES (105, 'admin', '192.168.3.180', '内网IP', 'Chrome 52', 'Android 1.x', '0', '登录成功', '2022-08-24 11:37:42');
INSERT INTO `sys_logininfor` VALUES (106, 'admin', '192.168.3.139', '内网IP', 'Chrome 10', 'Mac OS X', '1', '用户不存在/密码错误', '2022-08-24 11:42:05');
INSERT INTO `sys_logininfor` VALUES (107, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-24 11:42:15');
INSERT INTO `sys_logininfor` VALUES (108, 'admin', '192.168.3.139', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 11:42:40');
INSERT INTO `sys_logininfor` VALUES (109, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 11:43:34');
INSERT INTO `sys_logininfor` VALUES (110, 'admin', '192.168.3.139', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 12:22:30');
INSERT INTO `sys_logininfor` VALUES (111, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 14:13:55');
INSERT INTO `sys_logininfor` VALUES (112, 'admin', '192.168.3.139', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 14:16:52');
INSERT INTO `sys_logininfor` VALUES (113, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-24 15:47:51');
INSERT INTO `sys_logininfor` VALUES (114, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 15:48:00');
INSERT INTO `sys_logininfor` VALUES (115, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '1', '验证码已失效', '2022-08-24 16:19:46');
INSERT INTO `sys_logininfor` VALUES (116, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '1', '验证码已失效', '2022-08-24 16:19:49');
INSERT INTO `sys_logininfor` VALUES (117, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '1', '验证码已失效', '2022-08-24 16:19:50');
INSERT INTO `sys_logininfor` VALUES (118, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 16:21:07');
INSERT INTO `sys_logininfor` VALUES (119, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-24 16:21:55');
INSERT INTO `sys_logininfor` VALUES (120, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 16:21:59');
INSERT INTO `sys_logininfor` VALUES (121, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 17:36:21');
INSERT INTO `sys_logininfor` VALUES (122, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 18:11:39');
INSERT INTO `sys_logininfor` VALUES (123, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 22:13:53');
INSERT INTO `sys_logininfor` VALUES (124, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-24 23:34:24');
INSERT INTO `sys_logininfor` VALUES (125, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-24 23:35:30');
INSERT INTO `sys_logininfor` VALUES (126, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-25 14:55:34');
INSERT INTO `sys_logininfor` VALUES (127, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-25 15:25:15');
INSERT INTO `sys_logininfor` VALUES (128, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-25 15:25:18');
INSERT INTO `sys_logininfor` VALUES (129, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-25 17:55:01');
INSERT INTO `sys_logininfor` VALUES (130, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-25 17:55:11');
INSERT INTO `sys_logininfor` VALUES (131, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 12:40:07');
INSERT INTO `sys_logininfor` VALUES (132, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 13:14:48');
INSERT INTO `sys_logininfor` VALUES (133, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 14:13:02');
INSERT INTO `sys_logininfor` VALUES (134, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 14:56:37');
INSERT INTO `sys_logininfor` VALUES (135, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-26 16:18:50');
INSERT INTO `sys_logininfor` VALUES (136, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 16:18:58');
INSERT INTO `sys_logininfor` VALUES (137, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 17:46:06');
INSERT INTO `sys_logininfor` VALUES (138, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-26 18:32:51');
INSERT INTO `sys_logininfor` VALUES (139, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-26 18:32:56');
INSERT INTO `sys_logininfor` VALUES (140, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-27 17:18:06');
INSERT INTO `sys_logininfor` VALUES (141, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-28 10:03:02');
INSERT INTO `sys_logininfor` VALUES (142, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-28 10:04:41');
INSERT INTO `sys_logininfor` VALUES (143, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-28 10:04:51');
INSERT INTO `sys_logininfor` VALUES (144, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-28 10:46:25');
INSERT INTO `sys_logininfor` VALUES (145, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-28 16:24:39');
INSERT INTO `sys_logininfor` VALUES (146, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-28 21:57:42');
INSERT INTO `sys_logininfor` VALUES (147, 'admin', '14.157.173.47', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-29 10:11:18');
INSERT INTO `sys_logininfor` VALUES (148, 'admin', '14.157.173.47', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-29 11:21:28');
INSERT INTO `sys_logininfor` VALUES (149, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-29 12:58:50');
INSERT INTO `sys_logininfor` VALUES (150, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-29 14:16:51');
INSERT INTO `sys_logininfor` VALUES (151, 'admin', '120.230.64.191', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-29 16:12:35');
INSERT INTO `sys_logininfor` VALUES (152, 'admin', '14.157.173.61', 'XX XX', 'Chrome 8', 'Windows 7', '0', '登录成功', '2022-08-29 16:12:40');
INSERT INTO `sys_logininfor` VALUES (153, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-29 16:13:00');
INSERT INTO `sys_logininfor` VALUES (154, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-29 18:59:08');
INSERT INTO `sys_logininfor` VALUES (155, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-29 21:46:27');
INSERT INTO `sys_logininfor` VALUES (156, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-30 11:20:36');
INSERT INTO `sys_logininfor` VALUES (157, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-30 11:32:26');
INSERT INTO `sys_logininfor` VALUES (158, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-30 11:32:29');
INSERT INTO `sys_logininfor` VALUES (159, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '退出成功', '2022-08-30 12:26:40');
INSERT INTO `sys_logininfor` VALUES (160, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-30 14:53:11');
INSERT INTO `sys_logininfor` VALUES (161, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-30 15:00:59');
INSERT INTO `sys_logininfor` VALUES (162, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:07:37');
INSERT INTO `sys_logininfor` VALUES (163, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:16:07');
INSERT INTO `sys_logininfor` VALUES (164, 'mes', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:16:15');
INSERT INTO `sys_logininfor` VALUES (165, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:28:49');
INSERT INTO `sys_logininfor` VALUES (166, 'mes', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:28:52');
INSERT INTO `sys_logininfor` VALUES (167, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:31:30');
INSERT INTO `sys_logininfor` VALUES (168, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:31:39');
INSERT INTO `sys_logininfor` VALUES (169, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:31:46');
INSERT INTO `sys_logininfor` VALUES (170, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:31:58');
INSERT INTO `sys_logininfor` VALUES (171, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:32:03');
INSERT INTO `sys_logininfor` VALUES (172, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:32:07');
INSERT INTO `sys_logininfor` VALUES (173, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:33:05');
INSERT INTO `sys_logininfor` VALUES (174, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:33:21');
INSERT INTO `sys_logininfor` VALUES (175, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:34:29');
INSERT INTO `sys_logininfor` VALUES (176, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:34:35');
INSERT INTO `sys_logininfor` VALUES (177, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:35:56');
INSERT INTO `sys_logininfor` VALUES (178, 'test001', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '登录用户：test001 不存在', '2022-08-30 15:36:04');
INSERT INTO `sys_logininfor` VALUES (179, 'test01', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '登录用户：test01 不存在', '2022-08-30 15:36:08');
INSERT INTO `sys_logininfor` VALUES (180, 'test01', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '登录用户：test01 不存在', '2022-08-30 15:36:13');
INSERT INTO `sys_logininfor` VALUES (181, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:36:22');
INSERT INTO `sys_logininfor` VALUES (182, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:37:20');
INSERT INTO `sys_logininfor` VALUES (183, 'test001', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '登录用户：test001 不存在', '2022-08-30 15:37:27');
INSERT INTO `sys_logininfor` VALUES (184, 'test001', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '登录用户：test001 不存在', '2022-08-30 15:37:33');
INSERT INTO `sys_logininfor` VALUES (185, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:37:47');
INSERT INTO `sys_logininfor` VALUES (186, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:39:00');
INSERT INTO `sys_logininfor` VALUES (187, 'test001', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:39:07');
INSERT INTO `sys_logininfor` VALUES (188, 'test001', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:39:16');
INSERT INTO `sys_logininfor` VALUES (189, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:39:26');
INSERT INTO `sys_logininfor` VALUES (190, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:43:20');
INSERT INTO `sys_logininfor` VALUES (191, 'test001', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '对不起，您的账号：test001 已停用', '2022-08-30 15:43:31');
INSERT INTO `sys_logininfor` VALUES (192, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:43:46');
INSERT INTO `sys_logininfor` VALUES (193, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:43:56');
INSERT INTO `sys_logininfor` VALUES (194, 'mes', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:44:06');
INSERT INTO `sys_logininfor` VALUES (195, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:46:25');
INSERT INTO `sys_logininfor` VALUES (196, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:46:36');
INSERT INTO `sys_logininfor` VALUES (197, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:46:44');
INSERT INTO `sys_logininfor` VALUES (198, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:46:53');
INSERT INTO `sys_logininfor` VALUES (199, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:47:08');
INSERT INTO `sys_logininfor` VALUES (200, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:47:13');
INSERT INTO `sys_logininfor` VALUES (201, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:47:29');
INSERT INTO `sys_logininfor` VALUES (202, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:47:39');
INSERT INTO `sys_logininfor` VALUES (203, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:47:56');
INSERT INTO `sys_logininfor` VALUES (204, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:48:11');
INSERT INTO `sys_logininfor` VALUES (205, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:48:32');
INSERT INTO `sys_logininfor` VALUES (206, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:48:48');
INSERT INTO `sys_logininfor` VALUES (207, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:49:07');
INSERT INTO `sys_logininfor` VALUES (208, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:49:14');
INSERT INTO `sys_logininfor` VALUES (209, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:50:35');
INSERT INTO `sys_logininfor` VALUES (210, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:50:49');
INSERT INTO `sys_logininfor` VALUES (211, 'test002', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:50:58');
INSERT INTO `sys_logininfor` VALUES (212, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:51:02');
INSERT INTO `sys_logininfor` VALUES (213, 'MES', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 15:55:25');
INSERT INTO `sys_logininfor` VALUES (214, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '1', '用户不存在/密码错误', '2022-08-30 15:55:34');
INSERT INTO `sys_logininfor` VALUES (215, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 15:55:39');
INSERT INTO `sys_logininfor` VALUES (216, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 16:24:28');
INSERT INTO `sys_logininfor` VALUES (217, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 16:24:30');
INSERT INTO `sys_logininfor` VALUES (218, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 16:32:07');
INSERT INTO `sys_logininfor` VALUES (219, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 16:32:25');
INSERT INTO `sys_logininfor` VALUES (220, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 16:34:13');
INSERT INTO `sys_logininfor` VALUES (221, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 16:34:16');
INSERT INTO `sys_logininfor` VALUES (222, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 16:35:16');
INSERT INTO `sys_logininfor` VALUES (223, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 16:35:18');
INSERT INTO `sys_logininfor` VALUES (224, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 18:28:55');
INSERT INTO `sys_logininfor` VALUES (225, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 18:43:56');
INSERT INTO `sys_logininfor` VALUES (226, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 18:43:58');
INSERT INTO `sys_logininfor` VALUES (227, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-30 19:50:27');
INSERT INTO `sys_logininfor` VALUES (228, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-30 19:50:47');
INSERT INTO `sys_logininfor` VALUES (229, 'admin', '120.230.64.119', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-30 21:56:13');
INSERT INTO `sys_logininfor` VALUES (230, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-08-31 10:30:38');
INSERT INTO `sys_logininfor` VALUES (231, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 10:38:54');
INSERT INTO `sys_logininfor` VALUES (232, 'admin', '14.157.173.61', 'XX XX', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 10:47:22');
INSERT INTO `sys_logininfor` VALUES (233, 'admin', '127.0.0.1', '内网IP', 'Firefox 10', 'Windows 10', '0', '登录成功', '2022-08-31 11:36:56');
INSERT INTO `sys_logininfor` VALUES (234, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 11:40:05');
INSERT INTO `sys_logininfor` VALUES (235, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 12:19:43');
INSERT INTO `sys_logininfor` VALUES (236, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 14:27:19');
INSERT INTO `sys_logininfor` VALUES (237, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-31 14:40:25');
INSERT INTO `sys_logininfor` VALUES (238, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 14:51:31');
INSERT INTO `sys_logininfor` VALUES (239, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 17:02:43');
INSERT INTO `sys_logininfor` VALUES (240, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 19:22:36');
INSERT INTO `sys_logininfor` VALUES (241, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 21:17:23');
INSERT INTO `sys_logininfor` VALUES (242, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 22:29:05');
INSERT INTO `sys_logininfor` VALUES (243, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-08-31 22:47:33');
INSERT INTO `sys_logininfor` VALUES (244, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-08-31 22:47:34');
INSERT INTO `sys_logininfor` VALUES (245, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-09-01 10:58:21');
INSERT INTO `sys_logininfor` VALUES (246, 'admin', '14.157.172.70', 'XX XX', 'Chrome 10', 'Mac OS X', '0', '登录成功', '2022-09-01 11:01:46');
INSERT INTO `sys_logininfor` VALUES (247, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '退出成功', '2022-09-01 11:46:09');
INSERT INTO `sys_logininfor` VALUES (248, 'admin', '127.0.0.1', '内网IP', 'Chrome 10', 'Windows 10', '0', '登录成功', '2022-09-01 11:46:11');
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `path` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '组件路径',
  `query` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由参数',
  `is_frame` int DEFAULT '1' COMMENT '是否为外链（0是 1否）',
  `is_cache` int DEFAULT '0' COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2213 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` VALUES (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', '2022-04-07 00:29:31', '', NULL, '系统管理目录');
INSERT INTO `sys_menu` VALUES (2, '系统监控', 0, 2, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', '2022-04-07 00:29:31', '', NULL, '系统监控目录');
INSERT INTO `sys_menu` VALUES (3, '系统工具', 0, 3, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2022-04-07 00:29:31', '', NULL, '系统工具目录');
INSERT INTO `sys_menu` VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2022-04-07 00:29:31', '', NULL, '用户管理菜单');
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2022-04-07 00:29:31', '', NULL, '角色管理菜单');
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2022-04-07 00:29:31', '', NULL, '菜单管理菜单');
INSERT INTO `sys_menu` VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', '2022-04-07 00:29:31', '', NULL, '部门管理菜单');
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2022-04-07 00:29:31', '', NULL, '岗位管理菜单');
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2022-04-07 00:29:31', '', NULL, '字典管理菜单');
INSERT INTO `sys_menu` VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2022-04-07 00:29:31', '', NULL, '参数设置菜单');
INSERT INTO `sys_menu` VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2022-04-07 00:29:31', '', NULL, '通知公告菜单');
INSERT INTO `sys_menu` VALUES (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 'admin', '2022-04-07 00:29:31', '', NULL, '日志管理菜单');
INSERT INTO `sys_menu` VALUES (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', '2022-04-07 00:29:31', '', NULL, '在线用户菜单');
INSERT INTO `sys_menu` VALUES (110, '定时任务', 2, 2, 'job', 'monitor/job/index', '', 1, 0, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', '2022-04-07 00:29:31', '', NULL, '定时任务菜单');
INSERT INTO `sys_menu` VALUES (111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', '', 1, 0, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2022-04-07 00:29:31', '', NULL, '数据监控菜单');
INSERT INTO `sys_menu` VALUES (112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2022-04-07 00:29:31', '', NULL, '服务监控菜单');
INSERT INTO `sys_menu` VALUES (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2022-04-07 00:29:31', '', NULL, '缓存监控菜单');
INSERT INTO `sys_menu` VALUES (114, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2022-04-07 00:29:31', '', NULL, '表单构建菜单');
INSERT INTO `sys_menu` VALUES (115, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2022-04-07 00:29:31', '', NULL, '代码生成菜单');
INSERT INTO `sys_menu` VALUES (116, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2022-04-07 00:29:31', '', NULL, '系统接口菜单');
INSERT INTO `sys_menu` VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2022-04-07 00:29:31', '', NULL, '操作日志菜单');
INSERT INTO `sys_menu` VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2022-04-07 00:29:31', '', NULL, '登录日志菜单');
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1018, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1019, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1020, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1032, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1040, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1041, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1042, '日志导出', 500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1043, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1044, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1045, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1049, '任务查询', 110, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1050, '任务新增', 110, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:add', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1051, '任务修改', 110, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1052, '任务删除', 110, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1053, '状态修改', 110, 5, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:changeStatus', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1054, '任务导出', 110, 7, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:export', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1055, '生成查询', 115, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1056, '生成修改', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1057, '生成删除', 115, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1058, '导入代码', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1059, '预览代码', 115, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1060, '生成代码', 115, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 'admin', '2022-04-07 00:29:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2000, '公共基础', 0, 4, 'mes/md', NULL, NULL, 1, 0, 'M', '0', '0', '', 'documentation', 'admin', '2022-04-16 14:41:55', 'admin', '2022-08-26 17:48:40', '');
INSERT INTO `sys_menu` VALUES (2001, '物料产品管理', 2000, 1, 'mditem', 'mes/md/mditem/index', NULL, 1, 0, 'C', '0', '0', 'ms:md:mditem', 'excel', 'admin', '2022-04-16 14:44:00', 'admin', '2022-05-04 18:13:08', '');
INSERT INTO `sys_menu` VALUES (2002, '物料产品分类', 2000, 2, 'itemtype', 'mes/md/itemtype/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:itemtype', 'nested', 'admin', '2022-04-16 16:03:18', 'admin', '2022-04-16 16:05:56', '');
INSERT INTO `sys_menu` VALUES (2003, '编码规则', 1, 10, 'autocodeRule', 'system/autocode/index', NULL, 1, 0, 'C', '0', '0', 'system:autocode:rule', 'code', 'admin', '2022-04-24 21:43:28', 'admin', '2022-04-24 21:49:31', '');
INSERT INTO `sys_menu` VALUES (2004, '编码规则查询', 2003, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:autocode:rule:list', '#', 'admin', '2022-04-24 21:46:05', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2005, '编码规则新增', 2003, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:autocode:rule:add', '#', 'admin', '2022-04-24 21:46:30', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2006, '编码规则更新', 2003, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:autocode:rule:edit', '#', 'admin', '2022-04-24 21:46:59', 'admin', '2022-04-24 21:47:42', '');
INSERT INTO `sys_menu` VALUES (2007, '编码规则删除', 2003, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:autocode:rule:remove', '#', 'admin', '2022-04-24 21:47:20', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2008, '新增物料分类', 2002, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:itemtype:add', '#', 'admin', '2022-04-27 16:46:06', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2009, '更新物料分类', 2002, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:itemtype:edit', '#', 'admin', '2022-04-27 16:46:51', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2010, '删除物料分类', 2002, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:itemtype:remove', '#', 'admin', '2022-04-27 16:47:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2011, '新增物料产品', 2001, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:mditem:add', '#', 'admin', '2022-04-27 16:47:46', 'admin', '2022-05-04 18:05:32', '');
INSERT INTO `sys_menu` VALUES (2012, '更新物料产品', 2001, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:mditem:edit', '#', 'admin', '2022-04-27 16:48:11', 'admin', '2022-05-04 18:05:40', '');
INSERT INTO `sys_menu` VALUES (2013, '删除物料产品', 2001, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:mditem:remove', '#', 'admin', '2022-04-27 16:48:36', 'admin', '2022-05-04 18:05:55', '');
INSERT INTO `sys_menu` VALUES (2014, '计量单位', 2000, 3, 'unitmeasure', 'mes/md/unitmeasure/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:unitmeasure', 'tab', 'admin', '2022-04-27 18:08:08', 'admin', '2022-04-27 21:27:43', '');
INSERT INTO `sys_menu` VALUES (2015, '新增单位', 2014, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:unitmeasure:add', '#', 'admin', '2022-04-27 18:14:06', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2016, '更新单位', 2014, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:unitmeasure:edit', '#', 'admin', '2022-04-27 18:14:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2017, '删除单位', 2014, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:unitmeasure:remove', '#', 'admin', '2022-04-27 18:14:44', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2018, '物料明细查看', 2001, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:mditem:query', '#', 'admin', '2022-05-04 17:51:19', 'admin', '2022-05-04 18:06:04', '');
INSERT INTO `sys_menu` VALUES (2019, '物料分类明细', 2002, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:itemtype:query', '#', 'admin', '2022-05-04 17:52:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2020, '单位明细', 2014, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:unitmeasure:query', '#', 'admin', '2022-05-04 17:54:06', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2021, '物料产品列表查询', 2001, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:mditem:list', '#', 'admin', '2022-05-04 18:04:36', 'admin', '2022-05-04 18:05:23', '');
INSERT INTO `sys_menu` VALUES (2022, '物料分类列表查询', 2002, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:itemtype:list', '#', 'admin', '2022-05-04 18:08:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2023, '单位列表查询', 2014, 0, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:unitmeasure:list', '#', 'admin', '2022-05-04 18:09:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2024, '客户管理', 2000, 4, 'client', 'mes/md/client/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:client', 'people', 'admin', '2022-05-06 20:37:28', 'admin', '2022-05-06 20:43:03', '');
INSERT INTO `sys_menu` VALUES (2025, '客户列表查询', 2024, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:client:list', '#', 'admin', '2022-05-06 20:38:07', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2026, '客户新增', 2024, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:client:add', '#', 'admin', '2022-05-06 20:38:33', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2027, '客户编辑', 2024, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:client:edit', '#', 'admin', '2022-05-06 20:38:55', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2028, '客户明细', 2024, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:client:query', '#', 'admin', '2022-05-06 20:39:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2029, '客户删除', 2024, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:client:remove', '#', 'admin', '2022-05-06 20:39:49', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2030, '供应商管理', 2000, 5, 'vendor', 'mes/md/vendor/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:vendor', 'peoples', 'admin', '2022-05-06 22:34:09', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2031, '供应商列表查询', 2030, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:vendor:list', '#', 'admin', '2022-05-06 22:34:34', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2032, '供应商查看', 2030, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:vendor:query', '#', 'admin', '2022-05-06 22:35:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2033, '供应商新增', 2030, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:vendor:add', '#', 'admin', '2022-05-06 22:35:38', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2034, '供应商编辑', 2030, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:vendor:edit', '#', 'admin', '2022-05-06 22:35:59', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2035, '供应商删除', 2030, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:vendor:remove', '#', 'admin', '2022-05-06 22:36:21', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2036, '车间设置', 2209, 1, 'workshop', 'mes/md/workshop/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:workshop', 'zip', 'admin', '2022-05-07 16:40:48', 'admin', '2022-08-26 17:52:07', '');
INSERT INTO `sys_menu` VALUES (2037, '车间列表查询', 2036, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workshop:list', '#', 'admin', '2022-05-07 16:41:09', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2038, '车间查看', 2036, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workshop:query', '#', 'admin', '2022-05-07 16:41:36', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2039, '车间新增', 2036, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workshop:add', '#', 'admin', '2022-05-07 16:41:58', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2040, '车间修改', 2036, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workshop:edit', '#', 'admin', '2022-05-07 16:42:18', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2041, '车间删除', 2036, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workshop:remove', '#', 'admin', '2022-05-07 16:42:39', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2042, '仓储管理', 0, 7, 'mes/wm', NULL, NULL, 1, 0, 'M', '0', '0', '', 'component', 'admin', '2022-05-07 21:06:28', 'admin', '2022-08-27 17:23:50', '');
INSERT INTO `sys_menu` VALUES (2043, '仓库设置', 2042, 1, 'warehouse', 'mes/wm/warehouse/index', NULL, 1, 0, 'C', '0', '0', 'mes:wm:warehouse', 'dict', 'admin', '2022-05-07 21:07:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2044, '仓库清单查询', 2043, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:warehouse:list', '#', 'admin', '2022-05-07 21:08:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2045, '仓库查看', 2043, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:warehouse:query', '#', 'admin', '2022-05-07 21:08:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2046, '仓库新增', 2043, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:warehouse:add', '#', 'admin', '2022-05-07 21:09:29', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2047, '仓库编辑', 2043, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:warehouse:edit', '#', 'admin', '2022-05-07 21:09:51', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2048, '仓库删除', 2043, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:warehouse:remove', '#', 'admin', '2022-05-07 21:10:13', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2049, '库区列表查询', 2043, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:location:list', '#', 'admin', '2022-05-08 18:19:51', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2050, '库区查看', 2043, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:location:query', '#', 'admin', '2022-05-08 18:20:28', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2051, '库区新增', 2043, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:location:add', '#', 'admin', '2022-05-08 18:20:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2052, '库区编辑', 2043, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:location:edit', '#', 'admin', '2022-05-08 18:21:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2053, '库区删除', 2043, 10, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:location:remove', '#', 'admin', '2022-05-08 18:21:57', 'admin', '2022-05-08 18:24:34', '');
INSERT INTO `sys_menu` VALUES (2054, '库位列表查询', 2043, 11, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:area:list', '#', 'admin', '2022-05-08 18:22:30', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2055, '库位查看', 2043, 12, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:area:query', '#', 'admin', '2022-05-08 18:22:54', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2056, '库位新增', 2043, 13, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:area:add', '#', 'admin', '2022-05-08 18:23:17', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2057, '库位编辑', 2043, 14, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:area:edit', '#', 'admin', '2022-05-08 18:23:43', 'admin', '2022-05-08 18:23:53', '');
INSERT INTO `sys_menu` VALUES (2058, '库位删除', 2043, 15, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:area:remove', '#', 'admin', '2022-05-08 18:24:58', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2059, '设备管理', 0, 8, 'mes/dv', NULL, NULL, 1, 0, 'M', '0', '0', '', 'redis', 'admin', '2022-05-08 19:10:32', 'admin', '2022-08-27 17:24:06', '');
INSERT INTO `sys_menu` VALUES (2060, '设备类型设置', 2059, 1, 'machinerytype', 'mes/dv/machinerytype/index', NULL, 1, 0, 'C', '0', '0', 'mes:dv:machinerytype', 'swagger', 'admin', '2022-05-08 19:11:58', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2061, '设备类型列表', 2060, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinerytype:list', '#', 'admin', '2022-05-08 19:12:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2062, '设备类型查看', 2060, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinerytype:query', '#', 'admin', '2022-05-08 19:12:58', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2063, '设备类型新增', 2060, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinerytype:add', '#', 'admin', '2022-05-08 19:13:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2064, '设备类型编辑', 2060, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinerytype:edit', '#', 'admin', '2022-05-08 19:13:33', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2065, '设备类型删除', 2060, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinerytype:remove', '#', 'admin', '2022-05-08 19:13:59', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2066, '设备台账', 2059, 2, 'machinery', 'mes/dv/machinery/index', NULL, 1, 0, 'C', '0', '0', 'mes:dv:machinery', 'system', 'admin', '2022-05-08 21:28:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2067, '设备列表查询', 2066, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinery:list', '#', 'admin', '2022-05-08 21:29:14', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2068, '设备查看', 2066, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinery:query', '#', 'admin', '2022-05-08 21:29:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2069, '设备新增', 2066, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinery:add', '#', 'admin', '2022-05-08 21:30:00', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2070, '设备编辑', 2066, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinery:edit', '#', 'admin', '2022-05-08 21:30:16', 'admin', '2022-05-08 21:30:40', '');
INSERT INTO `sys_menu` VALUES (2071, '设备删除', 2066, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:machinery:remove', '#', 'admin', '2022-05-08 21:30:32', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2072, '生产管理', 0, 9, 'mes/pro', NULL, NULL, 1, 0, 'M', '0', '0', '', 'switch', 'admin', '2022-05-09 10:58:07', 'admin', '2022-08-27 17:24:17', '');
INSERT INTO `sys_menu` VALUES (2073, '生产工单', 2072, 1, 'workorder', 'mes/pro/workorder/index', NULL, 1, 0, 'C', '0', '0', 'mes:pro:workorder', 'log', 'admin', '2022-05-09 10:59:26', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2074, '工单列表查询', 2073, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorder:list', '#', 'admin', '2022-05-09 11:00:02', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2075, '工单查看', 2073, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorder:query', '#', 'admin', '2022-05-09 11:00:24', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2076, '工单新增', 2073, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorder:add', '#', 'admin', '2022-05-09 11:00:55', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2077, '工单编辑', 2073, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorder:edit', '#', 'admin', '2022-05-09 11:01:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2078, '工单删除', 2073, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorder:remove', '#', 'admin', '2022-05-09 11:01:38', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2079, 'BOM列表查询', 2001, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:bom:list', '#', 'admin', '2022-05-10 10:17:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2080, 'BOM查看', 2001, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:bom:query', '#', 'admin', '2022-05-10 10:17:55', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2081, 'BOM新增', 2001, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:bom:add', '#', 'admin', '2022-05-10 10:18:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2082, 'BOM编辑', 2001, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:bom:edit', '#', 'admin', '2022-05-10 10:18:44', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2083, 'BOM删除', 2001, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:bom:remove', '#', 'admin', '2022-05-10 10:19:05', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2084, '工单BOM列表查询', 2073, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorderbom:list', '#', 'admin', '2022-05-10 16:17:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2085, '工单BOM查看', 2073, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorderbom:query', '#', 'admin', '2022-05-10 16:17:58', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2086, '工单BOM编辑', 2073, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorderbom:edit', '#', 'admin', '2022-05-10 16:18:28', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2087, '工单BOM删除', 2073, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:workorderbom:remove', '#', 'admin', '2022-05-10 16:18:59', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2088, '工作站', 2209, 2, 'workstation', 'mes/md/workstation/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:workstation', 'job', 'admin', '2022-05-10 21:44:36', 'admin', '2022-08-26 17:52:01', '');
INSERT INTO `sys_menu` VALUES (2089, '工作站列表查询', 2088, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workstation:list', '#', 'admin', '2022-05-10 21:45:11', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2090, '工作站查看', 2088, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workstation:query', '#', 'admin', '2022-05-10 21:45:32', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2091, '工作站新增', 2088, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workstation:add', '#', 'admin', '2022-05-10 21:45:48', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2092, '工作站编辑', 2088, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workstation:edit', '#', 'admin', '2022-05-10 21:46:05', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2093, '工作站删除', 2088, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workstation:remove', '#', 'admin', '2022-05-10 21:46:28', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2094, '工作站导出', 2088, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:workstation:export', '#', 'admin', '2022-05-10 21:47:04', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2095, '工装夹具管理', 0, 7, 'tm', NULL, NULL, 1, 0, 'M', '1', '0', '', 'lock', 'admin', '2022-05-11 00:07:13', 'admin', '2022-08-27 17:24:54', '');
INSERT INTO `sys_menu` VALUES (2096, '类型设置', 2095, 1, 'tooltype', 'mes/tm/tooltype/index', NULL, 1, 0, 'C', '0', '0', 'mes:tm:tooltype', 'tree', 'admin', '2022-05-11 00:08:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2097, '类型列表查询', 2096, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tooltype:list', '#', 'admin', '2022-05-11 00:09:01', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2098, '类型查看', 2096, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tooltype:query', '#', 'admin', '2022-05-11 00:09:27', 'admin', '2022-05-11 00:09:48', '');
INSERT INTO `sys_menu` VALUES (2099, '类型新增', 2096, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tooltype:add', '#', 'admin', '2022-05-11 00:10:14', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2100, '类型编辑', 2096, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tooltype:edit', '#', 'admin', '2022-05-11 00:10:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2101, '类型删除', 2096, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tooltype:remove', '#', 'admin', '2022-05-11 00:10:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2102, '工装夹具台账', 2095, 2, 'tool', 'mes/tm/tool/index', NULL, 1, 0, 'C', '0', '0', 'mes:tm:tool', 'date-range', 'admin', '2022-05-11 21:23:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2103, '工装夹具列表查询', 2102, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tool:list', '#', 'admin', '2022-05-11 21:23:53', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2104, '工装夹具查看', 2102, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tool:query', '#', 'admin', '2022-05-11 21:24:15', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2105, '工装夹具新增', 2102, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tool:add', '#', 'admin', '2022-05-11 21:24:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2106, '工装夹具编辑', 2102, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tool:edit', '#', 'admin', '2022-05-11 21:24:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2107, '工装夹具删除', 2102, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tool:remove', '#', 'admin', '2022-05-11 21:25:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2108, '工装夹具导出', 2102, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:tm:tool:export', '#', 'admin', '2022-05-11 21:25:46', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2109, '工序设置', 2210, 1, 'process', 'mes/pro/process/index', NULL, 1, 0, 'C', '0', '0', 'mes:pro:process', 'druid', 'admin', '2022-05-12 00:03:58', 'admin', '2022-08-26 17:57:45', '');
INSERT INTO `sys_menu` VALUES (2110, '工序列表查询', 2109, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:process:list', '#', 'admin', '2022-05-12 00:04:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2111, '工序查看', 2109, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:process:query', '#', 'admin', '2022-05-12 00:04:39', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2112, '工序新增', 2109, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:process:add', '#', 'admin', '2022-05-12 00:04:54', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2113, '工序编辑', 2109, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:process:edit', '#', 'admin', '2022-05-12 00:05:10', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2114, '工序删除', 2109, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:process:remove', '#', 'admin', '2022-05-12 00:05:28', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2115, '工序导出', 2109, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:process:export', '#', 'admin', '2022-05-12 00:05:41', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2116, '工艺流程', 2210, 2, 'proroute', 'mes/pro/proroute/index', NULL, 1, 0, 'C', '0', '0', 'mes:pro:proroute', 'nested', 'admin', '2022-05-12 23:08:26', 'admin', '2022-08-26 17:57:55', '');
INSERT INTO `sys_menu` VALUES (2117, '工艺流程列表查询', 2116, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:proroute:list', '#', 'admin', '2022-05-12 23:08:51', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2118, '工艺流程查看', 2116, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:proroute:query', '#', 'admin', '2022-05-12 23:09:13', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2119, '工艺流程新增', 2116, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:proroute:add', '#', 'admin', '2022-05-12 23:09:36', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2120, '工艺流程编辑', 2116, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:proroute:edit', '#', 'admin', '2022-05-12 23:09:53', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2121, '工艺流程删除', 2116, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:proroute:remove', '#', 'admin', '2022-05-12 23:10:11', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2122, '工艺流程导出', 2116, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:pro:proroute:export', '#', 'admin', '2022-05-12 23:10:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2123, '生产排产', 2072, 4, 'proschedule', 'mes/pro/schedule/index', NULL, 1, 0, 'C', '0', '0', 'mes:pro:schedule', 'build', 'admin', '2022-05-15 15:01:21', 'admin', '2022-05-15 15:01:36', '');
INSERT INTO `sys_menu` VALUES (2124, '质量管理', 0, 10, 'mes/qc', NULL, NULL, 1, 0, 'M', '0', '0', '', 'eye', 'admin', '2022-05-17 21:51:23', 'admin', '2022-08-27 17:24:25', '');
INSERT INTO `sys_menu` VALUES (2125, '检测项设置', 2124, 2, 'qcindex', 'mes/qc/qcindex/index', NULL, 1, 0, 'C', '0', '0', 'mes:qc:qcindex', 'checkbox', 'admin', '2022-05-17 21:52:33', 'admin', '2022-05-19 11:26:35', '');
INSERT INTO `sys_menu` VALUES (2126, '检测项列表查询', 2125, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcindex:list', '#', 'admin', '2022-05-17 21:53:07', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2127, '检测项查看', 2125, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcindex:query', '#', 'admin', '2022-05-17 21:53:36', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2128, '检测项新增', 2125, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcindex:add', '#', 'admin', '2022-05-17 21:54:04', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2129, '检测项编辑', 2125, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcindex:edit', '#', 'admin', '2022-05-17 21:54:24', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2130, '检测项删除', 2125, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcindex:remove', '#', 'admin', '2022-05-17 21:54:50', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2131, '检测项导出', 2125, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcindex:export', '#', 'admin', '2022-05-17 21:55:12', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2132, '检测模板', 2124, 3, 'qctemplate', 'mes/qc/qctemplate/index', NULL, 1, 0, 'C', '0', '0', 'mes:qc:qctemplate', 'example', 'admin', '2022-05-17 22:23:48', 'admin', '2022-05-19 11:26:41', '');
INSERT INTO `sys_menu` VALUES (2133, '检测模板列表查询', 2132, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qctemplate:list', '#', 'admin', '2022-05-17 22:24:05', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2134, '检测模板查看', 2132, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qctemplate:query', '#', 'admin', '2022-05-17 22:24:32', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2135, '检测模板新增', 2132, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qctemplate:add', '#', 'admin', '2022-05-17 22:24:50', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2136, '检测模板编辑', 2132, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qctemplate:edit', '#', 'admin', '2022-05-17 22:25:09', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2137, '检测模板删除', 2132, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qctemplate:remove', '#', 'admin', '2022-05-17 22:25:32', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2138, '常见缺陷', 2124, 1, 'qcdefect', 'mes/qc/qcdefect/index', NULL, 1, 0, 'C', '0', '0', 'mes:qc:qcdefect', 'bug', 'admin', '2022-05-19 11:26:15', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2139, '缺陷列表查询', 2138, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcdefect:list', '#', 'admin', '2022-05-19 11:27:04', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2140, '缺陷查看', 2138, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcdefect:query', '#', 'admin', '2022-05-19 11:27:28', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2141, '缺陷新增', 2138, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcdefect:add', '#', 'admin', '2022-05-19 11:27:47', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2142, '缺陷编辑', 2138, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcdefect:edit', '#', 'admin', '2022-05-19 11:28:11', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2143, '缺陷删除', 2138, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:qcdefect:remove', '#', 'admin', '2022-05-19 11:28:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2144, '来料检验', 2124, 4, 'iqc', 'mes/qc/iqc/iqc', NULL, 1, 0, 'C', '0', '0', 'mes:qc:iqc', 'edit', 'admin', '2022-05-19 16:32:24', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2145, '来料检验单列表查询', 2144, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:iqc:list', '#', 'admin', '2022-05-19 16:33:18', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2146, '来料检验单查看', 2144, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:iqc:query', '#', 'admin', '2022-05-19 16:33:41', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2147, '来料检验单新增', 2144, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:iqc:add', '#', 'admin', '2022-05-19 16:34:01', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2148, '来料检验单编辑', 2144, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:iqc:edit', '#', 'admin', '2022-05-19 16:34:19', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2149, '来料检验单删除', 2144, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:iqc:remove', '#', 'admin', '2022-05-19 16:34:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2150, '来料检验单导出', 2144, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:qc:iqc:export', '#', 'admin', '2022-05-19 16:34:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2151, '物料入库单', 2042, 3, 'itemrecpt', 'mes/wm/itemrecpt/index', NULL, 1, 0, 'C', '0', '0', 'mes:wm:itemrecpt', 'form', 'admin', '2022-05-22 17:35:11', 'admin', '2022-06-14 16:22:12', '');
INSERT INTO `sys_menu` VALUES (2152, '物料入库单列表查询', 2151, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:itemrecpt:list', '#', 'admin', '2022-05-22 17:35:39', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2153, '物料入库单查看', 2151, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:itemrecpt:query', '#', 'admin', '2022-05-22 17:35:53', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2154, '物料入库单新增', 2151, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:itemrecpt:add', '#', 'admin', '2022-05-22 17:36:09', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2155, '物料入库单编辑', 2151, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:itemrecpt:edit', '#', 'admin', '2022-05-22 17:36:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2156, '物料入库单删除', 2151, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:itemrecpt:remove', '#', 'admin', '2022-05-22 17:36:39', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2157, '库存现有量', 2042, 2, 'wmstock', 'mes/wm/wmstock/index', NULL, 1, 0, 'C', '0', '0', 'mes:wm:wmstock', 'chart', 'admin', '2022-05-30 23:36:40', 'admin', '2022-06-14 16:22:19', '');
INSERT INTO `sys_menu` VALUES (2158, '库存现有量列表查询', 2157, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:wmstock:list', '#', 'admin', '2022-05-30 23:37:07', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2159, '库存现有量导出', 2157, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:wmstock:export', '#', 'admin', '2022-05-30 23:37:30', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2160, '排班管理', 0, 11, 'cal', NULL, NULL, 1, 0, 'M', '0', '0', '', 'peoples', 'admin', '2022-06-05 21:52:34', 'admin', '2022-08-27 17:24:30', '');
INSERT INTO `sys_menu` VALUES (2161, '班组设置    ', 2160, 1, 'team', 'mes/cal/team/index', NULL, 1, 0, 'C', '0', '0', 'mes:cal:team', 'peoples', 'admin', '2022-06-05 21:53:23', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2162, '班组列表查看', 2161, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:team:list', '#', 'admin', '2022-06-05 21:56:58', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2163, '班组查看', 2161, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:team:query', '#', 'admin', '2022-06-05 21:57:20', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2164, '班组新增', 2161, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:team:add', '#', 'admin', '2022-06-05 21:57:40', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2165, '班组编辑', 2161, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:team:edit', '#', 'admin', '2022-06-05 21:57:59', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2166, '班组删除', 2161, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:team:remove', '#', 'admin', '2022-06-05 21:58:18', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2167, '班组数据导出', 2161, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:team:export', '#', 'admin', '2022-06-05 21:58:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2168, '排班计划', 2160, 2, 'plan', 'mes/cal/plan/index', NULL, 1, 0, 'C', '0', '0', 'mes:cal:plan', 'build', 'admin', '2022-06-06 21:47:04', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2169, '排班计划列表查询', 2168, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:plan:list', '#', 'admin', '2022-06-06 21:47:27', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2170, '排班计划查看', 2168, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:plan:query', '#', 'admin', '2022-06-06 21:47:49', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2171, '排班计划新增', 2168, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:plan:add', '#', 'admin', '2022-06-06 21:48:13', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2172, '排班计划编辑', 2168, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:plan:edit', '#', 'admin', '2022-06-06 21:48:30', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2173, '排班计划删除', 2168, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:plan:remove', '#', 'admin', '2022-06-06 21:48:49', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2174, '节假日设置', 2160, 3, 'holiday', 'mes/cal/holiday/index', NULL, 1, 0, 'C', '0', '0', 'mes:cal:holiday', 'date', 'admin', '2022-06-07 23:25:52', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2175, '节假日查看', 2174, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:holiday:query', '#', 'admin', '2022-06-07 23:26:18', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2176, '节假日设置', 2174, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:holiday:edit', '#', 'admin', '2022-06-07 23:26:41', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2177, '排班日历', 2160, 4, 'calendar', 'mes/cal/calendar/index', NULL, 1, 0, 'C', '0', '0', 'mes:cal:calendar', 'date-range', 'admin', '2022-06-09 21:08:06', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2178, '查看排班日历', 2177, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:cal:calendar:list', '#', 'admin', '2022-06-09 21:08:52', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2179, '供应商退货', 2042, 4, 'rtvendor', 'mes/wm/rtvendor/index', NULL, 1, 0, 'C', '0', '0', 'mes:wm:rtvendor', 'link', 'admin', '2022-06-13 15:29:43', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2180, '退货单列表查询', 2179, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:rtvendor:list', '#', 'admin', '2022-06-13 15:30:45', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2181, '退货单信息查看', 2179, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:rtvendor:query', '#', 'admin', '2022-06-13 15:31:13', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2182, '退货单新增', 2179, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:rtvendor:add', '#', 'admin', '2022-06-13 15:31:32', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2183, '退货单编辑', 2179, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:rtvendor:edit', '#', 'admin', '2022-06-13 15:31:49', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2184, '退货单删除', 2179, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:wm:rtvendor:remove', '#', 'admin', '2022-06-13 15:32:06', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2185, '点检保养项目', 2059, 3, 'dvsubject', 'mes/dv/subject/index', NULL, 1, 0, 'C', '0', '0', 'mes:dv:dvsubject', 'cascader', 'admin', '2022-06-16 20:17:37', 'admin', '2022-06-16 20:20:44', '');
INSERT INTO `sys_menu` VALUES (2186, '项目列表查询', 2185, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:dvsubject:list', '#', 'admin', '2022-06-16 20:18:10', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2187, '项目信息查看', 2185, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:dvsubject:query', '#', 'admin', '2022-06-16 20:18:37', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2188, '项目信息新增', 2185, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:dvsubject:add', '#', 'admin', '2022-06-16 20:18:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2189, '项目信息编辑', 2185, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:dvsubject:edit', '#', 'admin', '2022-06-16 20:19:18', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2190, '项目删除', 2185, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:dvsubject:remove', '#', 'admin', '2022-06-16 20:19:54', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2191, '点检计划', 2059, 4, 'checkplan', 'mes/dv/checkplan/index', NULL, 1, 0, 'C', '0', '0', 'mes:dv:checkplan', 'build', 'admin', '2022-06-16 21:35:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2192, '点检计划列表查询', 2191, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:checkplan:list', '#', 'admin', '2022-06-16 21:36:03', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2193, '点检计划查看', 2191, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:checkplan:query', '#', 'admin', '2022-06-16 21:36:34', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2194, '点检计划新增', 2191, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:checkplan:add', '#', 'admin', '2022-06-16 21:36:56', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2195, '点检计划编辑', 2191, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:checkplan:edit', '#', 'admin', '2022-06-16 21:37:15', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2196, '点检计划删除', 2191, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:dv:checkplan:remove', '#', 'admin', '2022-06-16 21:37:35', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2197, '设备', 3, 1, 'device', 'mes/md/device/index', NULL, 1, 0, 'C', '0', '0', 'md:device:list', '#', 'admin', '2022-08-25 17:06:16', 'admin', '2022-08-25 17:07:14', '设备菜单');
INSERT INTO `sys_menu` VALUES (2198, '设备查询', 2197, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'md:device:query', '#', 'admin', '2022-08-25 17:06:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2199, '设备新增', 2197, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'md:device:add', '#', 'admin', '2022-08-25 17:06:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2200, '设备修改', 2197, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'md:device:edit', '#', 'admin', '2022-08-25 17:06:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2201, '设备删除', 2197, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'md:device:remove', '#', 'admin', '2022-08-25 17:06:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2202, '设备导出', 2197, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'md:device:export', '#', 'admin', '2022-08-25 17:06:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2203, '数据源', 1, 1, 'dataSource', 'system/dataSource/index', NULL, 1, 0, 'C', '0', '0', 'system:dataSource:list', 'system', 'admin', '2022-08-26 14:19:22', 'admin', '2022-08-26 15:18:17', '数据源菜单');
INSERT INTO `sys_menu` VALUES (2204, '数据源查询', 2203, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:dataSource:query', '#', 'admin', '2022-08-26 14:19:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2205, '数据源新增', 2203, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:dataSource:add', '#', 'admin', '2022-08-26 14:19:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2206, '数据源修改', 2203, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:dataSource:edit', '#', 'admin', '2022-08-26 14:19:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2207, '数据源删除', 2203, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:dataSource:remove', '#', 'admin', '2022-08-26 14:19:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2208, '数据源导出', 2203, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:dataSource:export', '#', 'admin', '2022-08-26 14:19:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2209, '车间建模', 0, 6, 'workshop', NULL, NULL, 1, 0, 'M', '0', '0', '', 'warehouse', 'admin', '2022-08-26 17:50:54', 'admin', '2022-08-27 17:23:31', '');
INSERT INTO `sys_menu` VALUES (2210, '工艺管理', 0, 5, 'tech', NULL, NULL, 1, 0, 'M', '0', '0', '', 'cascader', 'admin', '2022-08-26 17:56:51', 'admin', '2022-08-27 17:22:48', '');
INSERT INTO `sys_menu` VALUES (2211, '销售订单', 2000, 6, 'order', 'mes/md/order/index', NULL, 1, 0, 'C', '0', '0', 'mes:md:order', 'dict', 'admin', '2022-08-31 20:06:44', 'admin', '2022-08-31 20:08:15', '');
INSERT INTO `sys_menu` VALUES (2212, '销售订单列表', 2211, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'mes:md:order:list', '#', 'admin', '2022-08-31 20:12:40', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` int NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告标题',
  `notice_type` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob COMMENT '公告内容',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
BEGIN;
INSERT INTO `sys_notice` VALUES (1, '温馨提醒：2018-07-01 若依新版本发布啦', '2', 0xE696B0E78988E69CACE58685E5AEB9, '0', 'admin', '2022-08-24 02:56:38', '', NULL, '管理员');
INSERT INTO `sys_notice` VALUES (2, '维护通知：2018-07-01 若依系统凌晨维护', '1', 0xE7BBB4E68AA4E58685E5AEB9, '0', 'admin', '2022-08-24 02:56:38', '', NULL, '管理员');
COMMIT;

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '模块标题',
  `business_type` int DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求方式',
  `operator_type` int DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '返回参数',
  `status` int DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  PRIMARY KEY (`oper_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1009 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='操作日志记录';

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------
BEGIN;
INSERT INTO `sys_oper_log` VALUES (100, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '未获取到指定类型:[CLIENT_CODE]的业务编码生成规则', '2022-08-24 03:46:36');
INSERT INTO `sys_oper_log` VALUES (101, '客户', 1, 'com.ktg.mes.md.controller.MdClientController.add()', 'POST', 1, 'admin', NULL, '/mes/md/client', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"enableFlag\":\"Y\",\"clientId\":200,\"params\":{},\"createTime\":1661284201911,\"clientCode\":\"1234\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:50:02');
INSERT INTO `sys_oper_log` VALUES (102, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"ITEM_CODE\",\"createBy\":\"admin\",\"ruleName\":\"物料规则\",\"enableFlag\":\"Y\",\"maxLength\":10}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:55:27');
INSERT INTO `sys_oper_log` VALUES (103, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"ITEM_TYPE_CODE\",\"createBy\":\"admin\",\"ruleName\":\"物料分类编码\",\"enableFlag\":\"Y\",\"maxLength\":14}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:55:51');
INSERT INTO `sys_oper_log` VALUES (104, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"CLIENT_CODE\",\"createBy\":\"admin\",\"ruleName\":\"客户编码规则\",\"enableFlag\":\"Y\",\"maxLength\":6}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:56:11');
INSERT INTO `sys_oper_log` VALUES (105, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"VENDOR_CODE\",\"createBy\":\"admin\",\"ruleName\":\"供应商编码规则\",\"enableFlag\":\"Y\",\"maxLength\":6}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:56:31');
INSERT INTO `sys_oper_log` VALUES (106, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"WORKSHOP_CODE\",\"createBy\":\"admin\",\"ruleName\":\"车间编码生成规则\",\"enableFlag\":\"Y\",\"maxLength\":5}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:56:54');
INSERT INTO `sys_oper_log` VALUES (107, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"WAREHOUSE_CODE\",\"createBy\":\"admin\",\"ruleName\":\"仓库编码规则\",\"enableFlag\":\"Y\",\"maxLength\":8}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:57:14');
INSERT INTO `sys_oper_log` VALUES (108, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"LOCATION_CODE\",\"createBy\":\"admin\",\"ruleDesc\":\"5\",\"ruleName\":\"库区编码规则\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:57:30');
INSERT INTO `sys_oper_log` VALUES (109, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"AREA_CODE\",\"createBy\":\"admin\",\"ruleDesc\":\"5\",\"ruleName\":\"库位编码规则\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:57:46');
INSERT INTO `sys_oper_log` VALUES (110, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"MACHINERY_TYPE_CODE\",\"createBy\":\"admin\",\"ruleDesc\":\"3\",\"ruleName\":\"设备类型编码规则\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:58:04');
INSERT INTO `sys_oper_log` VALUES (111, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '规则：[CLIENT_CODE]生成的编码为空！', '2022-08-24 03:58:18');
INSERT INTO `sys_oper_log` VALUES (112, '更新自动编码规则', 2, 'com.ktg.web.controller.system.SysAutoCodeRuleController.updateInfo()', 'PUT', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"paddedMethod\":\"L\",\"ruleCode\":\"LOCATION_CODE\",\"createBy\":\"admin\",\"createTime\":1661284650000,\"updateBy\":\"admin\",\"ruleDesc\":\"5\",\"ruleName\":\"库区编码规则\",\"ruleId\":206,\"enableFlag\":\"Y\",\"maxLength\":5}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:58:39');
INSERT INTO `sys_oper_log` VALUES (113, '更新自动编码规则', 2, 'com.ktg.web.controller.system.SysAutoCodeRuleController.updateInfo()', 'PUT', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"paddedMethod\":\"L\",\"ruleCode\":\"AREA_CODE\",\"createBy\":\"admin\",\"createTime\":1661284666000,\"updateBy\":\"admin\",\"ruleDesc\":\"5\",\"ruleName\":\"库位编码规则\",\"ruleId\":207,\"enableFlag\":\"Y\",\"maxLength\":4}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:58:44');
INSERT INTO `sys_oper_log` VALUES (114, '更新自动编码规则', 2, 'com.ktg.web.controller.system.SysAutoCodeRuleController.updateInfo()', 'PUT', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"paddedMethod\":\"L\",\"ruleCode\":\"MACHINERY_TYPE_CODE\",\"createBy\":\"admin\",\"createTime\":1661284684000,\"updateBy\":\"admin\",\"ruleDesc\":\"3\",\"ruleName\":\"设备类型编码规则\",\"ruleId\":208,\"enableFlag\":\"Y\",\"maxLength\":3}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 03:58:50');
INSERT INTO `sys_oper_log` VALUES (115, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '规则：[CLIENT_CODE]生成的编码为空！', '2022-08-24 03:58:56');
INSERT INTO `sys_oper_log` VALUES (116, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '规则：[CLIENT_CODE]生成的编码为空！', '2022-08-24 03:59:00');
INSERT INTO `sys_oper_log` VALUES (117, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '规则：[CLIENT_CODE]生成的编码为空！', '2022-08-24 04:00:04');
INSERT INTO `sys_oper_log` VALUES (118, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '规则：[CLIENT_CODE]生成的编码为空！', '2022-08-24 04:02:54');
INSERT INTO `sys_oper_log` VALUES (119, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"C\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":200,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 04:05:36');
INSERT INTO `sys_oper_log` VALUES (120, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL`\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":200,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 04:06:05');
INSERT INTO `sys_oper_log` VALUES (121, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', NULL, 1, '规则：[CLIENT_CODE]生成的编码为空！', '2022-08-24 04:06:11');
INSERT INTO `sys_oper_log` VALUES (122, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"C\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":202,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 04:07:09');
INSERT INTO `sys_oper_log` VALUES (123, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":202,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 04:07:46');
INSERT INTO `sys_oper_log` VALUES (124, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00001\"', 0, NULL, '2022-08-24 04:07:50');
INSERT INTO `sys_oper_log` VALUES (125, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00002\"', 0, NULL, '2022-08-24 04:07:53');
INSERT INTO `sys_oper_log` VALUES (126, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00003\"', 0, NULL, '2022-08-24 04:07:53');
INSERT INTO `sys_oper_log` VALUES (127, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', NULL, 1, '未获取到指定类型:[WORKORDER_CODE]的业务编码生成规则', '2022-08-24 04:09:47');
INSERT INTO `sys_oper_log` VALUES (128, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSHOP_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSHOP_CODE}', NULL, 1, '规则：[WORKSHOP_CODE]生成的编码为空！', '2022-08-24 11:24:19');
INSERT INTO `sys_oper_log` VALUES (129, '车间', 1, 'com.ktg.mes.md.controller.MdWorkshopController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workshop', '127.0.0.1', '内网IP', '{\"area\":100,\"workshopName\":\"研磨车间\",\"params\":{},\"createTime\":1661311476587,\"workshopId\":200,\"workshopCode\":\"YM001\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:24:36');
INSERT INTO `sys_oper_log` VALUES (130, '车间', 1, 'com.ktg.mes.md.controller.MdWorkshopController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workshop', '127.0.0.1', '内网IP', '{\"area\":100,\"workshopName\":\"配料车间\",\"params\":{},\"createTime\":1661311497503,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:24:57');
INSERT INTO `sys_oper_log` VALUES (131, '车间', 1, 'com.ktg.mes.md.controller.MdWorkshopController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workshop', '127.0.0.1', '内网IP', '{\"area\":0,\"workshopName\":\"溶解车间\",\"params\":{},\"createTime\":1661311518851,\"workshopId\":202,\"workshopCode\":\"YJ001\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:25:18');
INSERT INTO `sys_oper_log` VALUES (132, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSTATION_CODE}', NULL, 1, '未获取到指定类型:[WORKSTATION_CODE]的业务编码生成规则', '2022-08-24 11:25:24');
INSERT INTO `sys_oper_log` VALUES (133, '工作站', 1, 'com.ktg.mes.md.controller.MdWorkstationController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workstationName\":\"配料站\",\"params\":{},\"workstationCode\":\"WS001\",\"workshopId\":201,\"enableFlag\":\"Y\",\"workstationAddress\":\"PL1产线\"}', NULL, 1, '', '2022-08-24 11:26:06');
INSERT INTO `sys_oper_log` VALUES (134, '生产工序', 1, 'com.ktg.mes.pro.controller.ProProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"params\":{},\"createTime\":1661311625704,\"processId\":200,\"processName\":\"配料工序\",\"processCode\":\"GX001\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:27:05');
INSERT INTO `sys_oper_log` VALUES (135, '生产工序内容', 1, 'com.ktg.mes.pro.controller.ProProcessContentController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/processcontent', '127.0.0.1', '内网IP', '{\"contentId\":200,\"contentText\":\"加粉1g\",\"orderNum\":1,\"params\":{},\"createTime\":1661311753532,\"processId\":200,\"device\":\"称重器\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:29:13');
INSERT INTO `sys_oper_log` VALUES (136, '生产工序', 2, 'com.ktg.mes.pro.controller.ProProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"updateTime\":1661311758630,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661311626000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:29:18');
INSERT INTO `sys_oper_log` VALUES (137, '生产工序', 1, 'com.ktg.mes.pro.controller.ProProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"params\":{},\"createTime\":1661311797688,\"processId\":201,\"processName\":\"分散\",\"processCode\":\"GX002\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:29:57');
INSERT INTO `sys_oper_log` VALUES (138, '工艺路线', 1, 'com.ktg.mes.pro.controller.ProRouteController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"GY001\",\"params\":{},\"routeDesc\":\"120PS粘度的工艺\",\"routeName\":\"120PS工艺\",\"routeId\":200,\"createTime\":1661311880624,\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:31:20');
INSERT INTO `sys_oper_log` VALUES (139, '工艺组成', 1, 'com.ktg.mes.pro.controller.ProRouteProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeprocess', '127.0.0.1', '内网IP', '{\"defaultPreTime\":1,\"orderNum\":1,\"nextProcessName\":\"无\",\"params\":{},\"recordId\":200,\"routeId\":200,\"createTime\":1661311936194,\"processId\":200,\"processName\":\"配料工序\",\"processCode\":\"GX001\",\"nextProcessId\":0,\"colorCode\":\"#00AEF3\",\"linkType\":\"FS\",\"defaultSufTime\":3}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:32:16');
INSERT INTO `sys_oper_log` VALUES (140, '工艺组成', 1, 'com.ktg.mes.pro.controller.ProRouteProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeprocess', '127.0.0.1', '内网IP', '{\"defaultPreTime\":3,\"orderNum\":1,\"params\":{},\"routeId\":200,\"processId\":201,\"colorCode\":\"#00AEF3\",\"linkType\":\"FS\",\"defaultSufTime\":4}', '{\"msg\":\"序号已存在！\",\"code\":500}', 0, NULL, '2022-08-24 11:32:42');
INSERT INTO `sys_oper_log` VALUES (141, '工艺组成', 1, 'com.ktg.mes.pro.controller.ProRouteProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeprocess', '127.0.0.1', '内网IP', '{\"defaultPreTime\":3,\"orderNum\":2,\"nextProcessName\":\"无\",\"params\":{},\"recordId\":201,\"routeId\":200,\"createTime\":1661311965546,\"processId\":201,\"processName\":\"分散\",\"processCode\":\"GX002\",\"nextProcessId\":0,\"colorCode\":\"#00AEF3\",\"linkType\":\"FS\",\"defaultSufTime\":4}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:32:45');
INSERT INTO `sys_oper_log` VALUES (142, '工艺路线', 2, 'com.ktg.mes.pro.controller.ProRouteController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"GY001\",\"remark\":\"\",\"updateTime\":1661311970597,\"params\":{},\"routeDesc\":\"120PS粘度的工艺\",\"attr4\":0,\"attr3\":0,\"routeName\":\"120PS工艺\",\"createBy\":\"\",\"routeId\":200,\"createTime\":1661311881000,\"updateBy\":\"\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:32:50');
INSERT INTO `sys_oper_log` VALUES (143, '生产工序', 2, 'com.ktg.mes.pro.controller.ProProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"updateTime\":1661312067297,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661311626000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:34:27');
INSERT INTO `sys_oper_log` VALUES (144, '工作站', 1, 'com.ktg.mes.md.controller.MdWorkstationController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站\",\"params\":{},\"workstationCode\":\"WS001\",\"createTime\":1661312108420,\"processId\":200,\"processName\":\"配料工序\",\"processCode\":\"GX001\",\"workstationId\":200,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料车间01室\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:35:08');
INSERT INTO `sys_oper_log` VALUES (145, '生产工序', 2, 'com.ktg.mes.pro.controller.ProProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"updateTime\":1661312128487,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661311798000,\"processId\":201,\"processName\":\"分散工序\",\"updateBy\":\"\",\"processCode\":\"GX002\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:35:28');
INSERT INTO `sys_oper_log` VALUES (146, '人力资源', 1, 'com.ktg.mes.md.controller.MdWorkstationWorkerController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstationworker', '127.0.0.1', '内网IP', '{\"quantity\":1,\"postId\":4,\"params\":{},\"recordId\":200,\"createTime\":1661312168033,\"postName\":\"普通员工\",\"workstationId\":200,\"postCode\":\"user\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:36:08');
INSERT INTO `sys_oper_log` VALUES (147, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站\",\"remark\":\"\",\"updateTime\":1661312191596,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS001\",\"createTime\":1661312108000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":200,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料车间01室\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:36:31');
INSERT INTO `sys_oper_log` VALUES (148, '更新物料产品分类', 2, 'com.ktg.mes.md.controller.ItemTypeController.update()', 'PUT', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"itemTypeCode\":\"root\",\"orderNum\":1,\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"children\":[],\"updateBy\":\"admin\",\"itemTypeName\":\"产品分类\",\"ancestors\":\"\",\"itemTypeId\":1,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-08-24 11:52:20');
INSERT INTO `sys_oper_log` VALUES (149, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '规则：[ITEM_TYPE_CODE]生成的编码为空！', '2022-08-24 11:52:51');
INSERT INTO `sys_oper_log` VALUES (150, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '规则：[ITEM_TYPE_CODE]生成的编码为空！', '2022-08-24 11:52:51');
INSERT INTO `sys_oper_log` VALUES (151, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":1,\"seriaStartNo\":0,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"流水号\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:55:43');
INSERT INTO `sys_oper_log` VALUES (152, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, 'For input string: \"null\"', '2022-08-24 11:55:59');
INSERT INTO `sys_oper_log` VALUES (153, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, 'For input string: \"null\"', '2022-08-24 11:55:59');
INSERT INTO `sys_oper_log` VALUES (154, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":1,\"partId\":204,\"seriaStartNo\":0,\"partCode\":\"P2\",\"params\":{},\"partIndex\":1,\"partName\":\"流水号\",\"createBy\":\"admin\",\"createTime\":1661313343000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:56:16');
INSERT INTO `sys_oper_log` VALUES (155, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-system/target/classes/mapper/system/SysAutoCodePartMapper.xml]\n### The error may involve com.ktg.system.mapper.SysAutoCodePartMapper.add-Inline\n### The error occurred while setting parameters\n### SQL: insert into sys_auto_code_part(         rule_id,         part_index,         part_type,         part_code,         part_name,                                                                                                   remark,         create_by,         create_time         )values(         ?,         ?,         ?,         ?,         ?,                                                                                                   ?,         ?,         sysdate()         )\n### Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n; Field \'part_length\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'part_length\' doesn\'t have a default value', '2022-08-24 11:57:19');
INSERT INTO `sys_oper_log` VALUES (156, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"fixCharacter\":\"\'\'\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-system/target/classes/mapper/system/SysAutoCodePartMapper.xml]\n### The error may involve com.ktg.system.mapper.SysAutoCodePartMapper.add-Inline\n### The error occurred while setting parameters\n### SQL: insert into sys_auto_code_part(         rule_id,         part_index,         part_type,         part_code,         part_name,                                                     fix_character,                                                                     remark,         create_by,         create_time         )values(         ?,         ?,         ?,         ?,         ?,                                                     ?,                                                                     ?,         ?,         sysdate()         )\n### Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n; Field \'part_length\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'part_length\' doesn\'t have a default value', '2022-08-24 11:57:28');
INSERT INTO `sys_oper_log` VALUES (157, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"fixCharacter\":\"\'\'\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-24 11:57:34');
INSERT INTO `sys_oper_log` VALUES (158, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-24 11:57:41');
INSERT INTO `sys_oper_log` VALUES (159, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"P\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-24 11:58:28');
INSERT INTO `sys_oper_log` VALUES (160, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLIntegrityConstraintViolationException: Column \'part_type\' cannot be null\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-system/target/classes/mapper/system/SysAutoCodePartMapper.xml]\n### The error may involve com.ktg.system.mapper.SysAutoCodePartMapper.add-Inline\n### The error occurred while setting parameters\n### SQL: insert into sys_auto_code_part(         rule_id,         part_index,         part_type,         part_code,         part_name,                                                                                                   remark,         create_by,         create_time         )values(         ?,         ?,         ?,         ?,         ?,                                                                                                   ?,         ?,         sysdate()         )\n### Cause: java.sql.SQLIntegrityConstraintViolationException: Column \'part_type\' cannot be null\n; Column \'part_type\' cannot be null; nested exception is java.sql.SQLIntegrityConstraintViolationException: Column \'part_type\' cannot be null', '2022-08-24 11:58:53');
INSERT INTO `sys_oper_log` VALUES (161, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"INPUTCHAR\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-system/target/classes/mapper/system/SysAutoCodePartMapper.xml]\n### The error may involve com.ktg.system.mapper.SysAutoCodePartMapper.add-Inline\n### The error occurred while setting parameters\n### SQL: insert into sys_auto_code_part(         rule_id,         part_index,         part_type,         part_code,         part_name,                                                                                                   remark,         create_by,         create_time         )values(         ?,         ?,         ?,         ?,         ?,                                                                                                   ?,         ?,         sysdate()         )\n### Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n; Field \'part_length\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'part_length\' doesn\'t have a default value', '2022-08-24 11:59:04');
INSERT INTO `sys_oper_log` VALUES (162, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"INPUTCHAR\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-system/target/classes/mapper/system/SysAutoCodePartMapper.xml]\n### The error may involve com.ktg.system.mapper.SysAutoCodePartMapper.add-Inline\n### The error occurred while setting parameters\n### SQL: insert into sys_auto_code_part(         rule_id,         part_index,         part_type,         part_code,         part_name,                                                                                                   remark,         create_by,         create_time         )values(         ?,         ?,         ?,         ?,         ?,                                                                                                   ?,         ?,         sysdate()         )\n### Cause: java.sql.SQLException: Field \'part_length\' doesn\'t have a default value\n; Field \'part_length\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'part_length\' doesn\'t have a default value', '2022-08-24 11:59:14');
INSERT INTO `sys_oper_log` VALUES (163, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"INPUTCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:59:18');
INSERT INTO `sys_oper_log` VALUES (164, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 11:59:34');
INSERT INTO `sys_oper_log` VALUES (165, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 11:59:34');
INSERT INTO `sys_oper_log` VALUES (166, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":0,\"partId\":205,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"INPUTCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 11:59:49');
INSERT INTO `sys_oper_log` VALUES (167, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:00:06');
INSERT INTO `sys_oper_log` VALUES (168, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:00:06');
INSERT INTO `sys_oper_log` VALUES (169, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:00:08');
INSERT INTO `sys_oper_log` VALUES (170, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:00:08');
INSERT INTO `sys_oper_log` VALUES (171, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"partId\":205,\"updateTime\":1661313589000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:00:24');
INSERT INTO `sys_oper_log` VALUES (172, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:00:36');
INSERT INTO `sys_oper_log` VALUES (173, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:00:36');
INSERT INTO `sys_oper_log` VALUES (174, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"partId\":205,\"updateTime\":1661313624000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"INPUTCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:00:57');
INSERT INTO `sys_oper_log` VALUES (175, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:01:08');
INSERT INTO `sys_oper_log` VALUES (176, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:01:08');
INSERT INTO `sys_oper_log` VALUES (177, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:01:10');
INSERT INTO `sys_oper_log` VALUES (178, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:01:10');
INSERT INTO `sys_oper_log` VALUES (179, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:01:14');
INSERT INTO `sys_oper_log` VALUES (180, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, '编码规则传入字符不能为空！', '2022-08-24 12:01:14');
INSERT INTO `sys_oper_log` VALUES (181, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":1,\"partId\":204,\"seriaStartNo\":0,\"updateTime\":1661313376000,\"partCode\":\"P2\",\"params\":{},\"partIndex\":1,\"partName\":\"流水号\",\"createBy\":\"admin\",\"createTime\":1661313343000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":201,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:01:25');
INSERT INTO `sys_oper_log` VALUES (182, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"partId\":205,\"updateTime\":1661313657000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"INPUTCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:01:32');
INSERT INTO `sys_oper_log` VALUES (183, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"PY\",\"partId\":205,\"updateTime\":1661313692000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:01:46');
INSERT INTO `sys_oper_log` VALUES (184, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"PY\",\"partId\":205,\"updateTime\":1661313706000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2', '2022-08-24 12:02:09');
INSERT INTO `sys_oper_log` VALUES (185, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"PY\",\"partId\":205,\"updateTime\":1661313706000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2', '2022-08-24 12:02:14');
INSERT INTO `sys_oper_log` VALUES (186, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"fixCharacter\":\"PY\",\"partId\":205,\"updateTime\":1661313706000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2', '2022-08-24 12:02:19');
INSERT INTO `sys_oper_log` VALUES (187, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"fixCharacter\":\"PY\",\"partId\":205,\"updateTime\":1661313706000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2', '2022-08-24 12:02:21');
INSERT INTO `sys_oper_log` VALUES (188, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":10,\"fixCharacter\":\"ITEM_TYPE_\",\"partId\":205,\"updateTime\":1661313706000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2', '2022-08-24 12:02:41');
INSERT INTO `sys_oper_log` VALUES (189, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":10,\"fixCharacter\":\"ITEM_TYPE_\",\"partId\":205,\"updateTime\":1661313706000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313558000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2', '2022-08-24 12:02:50');
INSERT INTO `sys_oper_log` VALUES (190, '删除物料编码', 3, 'com.ktg.web.controller.system.SysAutoCodePartController.delete()', 'DELETE', 1, 'admin', NULL, '/system/autocode/part/205', '127.0.0.1', '内网IP', '{partIds=205}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:03:16');
INSERT INTO `sys_oper_log` VALUES (191, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":10,\"fixCharacter\":\"ITEM_TYPE_\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-24 12:03:29');
INSERT INTO `sys_oper_log` VALUES (192, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":10,\"fixCharacter\":\"ITEM_TYPE_\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-24 12:04:41');
INSERT INTO `sys_oper_log` VALUES (193, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"PY\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-24 12:05:12');
INSERT INTO `sys_oper_log` VALUES (194, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"PY\",\"partCode\":\"P1\",\"params\":{},\"partIndex\":2,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:05:16');
INSERT INTO `sys_oper_log` VALUES (195, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":1,\"partId\":204,\"seriaStartNo\":0,\"updateTime\":1661313685000,\"partCode\":\"P2\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"createTime\":1661313343000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":201,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:05:24');
INSERT INTO `sys_oper_log` VALUES (196, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"PY\",\"partId\":206,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313916000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:05:31');
INSERT INTO `sys_oper_log` VALUES (197, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":1,\"partId\":204,\"seriaStartNo\":0,\"updateTime\":1661313924000,\"partCode\":\"P2\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"createTime\":1661313343000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":201,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:05:35');
INSERT INTO `sys_oper_log` VALUES (198, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":1,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, 'For input string: \"null\"', '2022-08-24 12:05:56');
INSERT INTO `sys_oper_log` VALUES (199, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, 'For input string: \"null\"', '2022-08-24 12:05:56');
INSERT INTO `sys_oper_log` VALUES (200, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":10,\"fixCharacter\":\"ITEM_TYPE_\",\"partId\":206,\"updateTime\":1661313930000,\"partCode\":\"P1\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661313916000,\"updateBy\":\"admin\",\"ruleId\":201,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:06:50');
INSERT INTO `sys_oper_log` VALUES (201, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, 'For input string: \"null\"', '2022-08-24 12:07:25');
INSERT INTO `sys_oper_log` VALUES (202, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":2,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, 'For input string: \"null\"', '2022-08-24 12:07:25');
INSERT INTO `sys_oper_log` VALUES (203, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', NULL, 1, 'For input string: \"null\"', '2022-08-24 12:07:35');
INSERT INTO `sys_oper_log` VALUES (204, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"orderNum\":2,\"params\":{},\"children\":[],\"itemTypeName\":\"成品\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', NULL, 1, 'For input string: \"null\"', '2022-08-24 12:07:35');
INSERT INTO `sys_oper_log` VALUES (205, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":1,\"partId\":204,\"seriaStartNo\":1,\"updateTime\":1661313935000,\"partCode\":\"P2\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"createTime\":1661313343000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":201,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:08:38');
INSERT INTO `sys_oper_log` VALUES (206, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', '\"ITEM_TYPE_01\"', 0, NULL, '2022-08-24 12:08:48');
INSERT INTO `sys_oper_log` VALUES (207, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"itemTypeCode\":\"ITEM_TYPE_01\",\"orderNum\":2,\"params\":{},\"createBy\":\"admin\",\"children\":[],\"itemTypeName\":\"成品\",\"ancestors\":\",1\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-08-24 12:08:48');
INSERT INTO `sys_oper_log` VALUES (208, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', 'ITEM_TYPE_CODE', '\"ITEM_TYPE_02\"', 0, NULL, '2022-08-24 12:09:24');
INSERT INTO `sys_oper_log` VALUES (209, '新增物料产品分类信息', 1, 'com.ktg.mes.md.controller.ItemTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"itemTypeCode\":\"ITEM_TYPE_02\",\"orderNum\":2,\"params\":{},\"createBy\":\"admin\",\"children\":[],\"itemTypeName\":\"原材料\",\"ancestors\":\",1\",\"enableFlag\":\"Y\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-08-24 12:09:24');
INSERT INTO `sys_oper_log` VALUES (210, '更新物料产品分类', 2, 'com.ktg.mes.md.controller.ItemTypeController.update()', 'PUT', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":1,\"itemTypeCode\":\"ITEM_TYPE_01\",\"orderNum\":1,\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661314128000,\"updateBy\":\"admin\",\"itemTypeName\":\"成品\",\"ancestors\":\",1\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-08-24 12:09:29');
INSERT INTO `sys_oper_log` VALUES (211, '单位', 1, 'com.ktg.mes.md.controller.MdUnitMeasureController.add()', 'POST', 1, 'admin', NULL, '/mes/md/unitmeasure', '127.0.0.1', '内网IP', '{\"measureId\":200,\"params\":{},\"measureName\":\"kg\",\"primaryFlag\":\"Y\",\"measureCode\":\"01\",\"createTime\":1661314218443,\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:10:18');
INSERT INTO `sys_oper_log` VALUES (212, '单位', 1, 'com.ktg.mes.md.controller.MdUnitMeasureController.add()', 'POST', 1, 'admin', NULL, '/mes/md/unitmeasure', '127.0.0.1', '内网IP', '{\"measureId\":201,\"params\":{},\"primaryId\":200,\"measureName\":\"桶\",\"primaryFlag\":\"N\",\"measureCode\":\"02\",\"createTime\":1661314244541,\"changeRate\":0.2,\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:10:44');
INSERT INTO `sys_oper_log` VALUES (213, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00001\"', 0, NULL, '2022-08-24 12:11:07');
INSERT INTO `sys_oper_log` VALUES (214, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00002\"', 0, NULL, '2022-08-24 12:11:08');
INSERT INTO `sys_oper_log` VALUES (215, '物料管理', 1, 'com.ktg.mes.md.controller.MdItemController.add()', 'POST', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"01\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"ITEM_TYPE_01\",\"specification\":\"USR-100\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:11:33');
INSERT INTO `sys_oper_log` VALUES (216, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00003\"', 0, NULL, '2022-08-24 12:12:31');
INSERT INTO `sys_oper_log` VALUES (217, '物料管理', 1, 'com.ktg.mes.md.controller.MdItemController.add()', 'POST', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"01\",\"itemCode\":\"C00003\",\"itemTypeCode\":\"ITEM_TYPE_02\",\"specification\":\"A020\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":201,\"createBy\":\"admin\",\"itemName\":\"A020\",\"maxStock\":0.0,\"itemTypeName\":\"原材料\",\"itemTypeId\":202,\"enableFlag\":\"Y\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:12:41');
INSERT INTO `sys_oper_log` VALUES (218, '产品制程', 1, 'com.ktg.mes.pro.controller.ProRouteProductController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"01\",\"itemCode\":\"C00002\",\"specification\":\"USR-100\",\"params\":{},\"recordId\":200,\"itemId\":200,\"itemName\":\"AG02\",\"routeId\":200,\"createTime\":1661314410161}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:13:30');
INSERT INTO `sys_oper_log` VALUES (219, '工艺路线', 2, 'com.ktg.mes.pro.controller.ProRouteController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"GY001\",\"remark\":\"\",\"updateTime\":1661314415474,\"params\":{},\"routeDesc\":\"120PS粘度的工艺\",\"attr4\":0,\"attr3\":0,\"routeName\":\"120PS工艺\",\"createBy\":\"\",\"routeId\":200,\"createTime\":1661311881000,\"updateBy\":\"\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:13:35');
INSERT INTO `sys_oper_log` VALUES (220, '产品BOM关系', 1, 'com.ktg.mes.md.controller.MdProductBomController.add()', 'POST', 1, 'admin', NULL, '/mes/md/bom', '127.0.0.1', '内网IP', '{\"bomId\":200,\"quantity\":1,\"unitOfMeasure\":\"01\",\"bomItemCode\":\"C00002\",\"params\":{},\"bomItemId\":200,\"bomItemName\":\"AG02\",\"itemId\":200,\"createTime\":1661314525186,\"enableFlag\":\"Y\",\"bomItemSpec\":\"USR-100\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:15:25');
INSERT INTO `sys_oper_log` VALUES (221, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"01\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"ITEM_TYPE_01\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:15:27');
INSERT INTO `sys_oper_log` VALUES (222, '产品BOM关系', 3, 'com.ktg.mes.md.controller.MdProductBomController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/bom/200', '127.0.0.1', '内网IP', '{bomIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:15:40');
INSERT INTO `sys_oper_log` VALUES (223, '产品BOM关系', 1, 'com.ktg.mes.md.controller.MdProductBomController.add()', 'POST', 1, 'admin', NULL, '/mes/md/bom', '127.0.0.1', '内网IP', '{\"bomId\":201,\"quantity\":1,\"unitOfMeasure\":\"01\",\"bomItemCode\":\"C00003\",\"params\":{},\"bomItemId\":201,\"bomItemName\":\"A020\",\"itemId\":200,\"createTime\":1661314544677,\"enableFlag\":\"Y\",\"bomItemSpec\":\"A020\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:15:44');
INSERT INTO `sys_oper_log` VALUES (224, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"01\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"ITEM_TYPE_01\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:15:57');
INSERT INTO `sys_oper_log` VALUES (225, '单位', 2, 'com.ktg.mes.md.controller.MdUnitMeasureController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/unitmeasure', '127.0.0.1', '内网IP', '{\"measureId\":200,\"remark\":\"\",\"updateTime\":1661314649906,\"params\":{},\"measureName\":\"公斤\",\"primaryFlag\":\"Y\",\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"measureCode\":\"KG\",\"createTime\":1661314218000,\"updateBy\":\"\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:17:29');
INSERT INTO `sys_oper_log` VALUES (226, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"ITEM_TYPE_01\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:18:05');
INSERT INTO `sys_oper_log` VALUES (227, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00003\",\"itemTypeCode\":\"ITEM_TYPE_02\",\"specification\":\"A020\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":201,\"createBy\":\"admin\",\"itemName\":\"A020\",\"createTime\":1661314361000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"原材料\",\"itemTypeId\":202,\"enableFlag\":\"Y\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:18:11');
INSERT INTO `sys_oper_log` VALUES (228, '产品BOM关系', 3, 'com.ktg.mes.md.controller.MdProductBomController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/bom/201', '127.0.0.1', '内网IP', '{bomIds=201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:18:29');
INSERT INTO `sys_oper_log` VALUES (229, '单位', 2, 'com.ktg.mes.md.controller.MdUnitMeasureController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/unitmeasure', '127.0.0.1', '内网IP', '{\"measureId\":201,\"remark\":\"\",\"updateTime\":1661314741196,\"params\":{},\"primaryId\":200,\"measureName\":\"桶\",\"primaryFlag\":\"N\",\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"measureCode\":\"T\",\"createTime\":1661314245000,\"updateBy\":\"\",\"changeRate\":0.2,\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:19:01');
INSERT INTO `sys_oper_log` VALUES (230, '产品BOM关系', 1, 'com.ktg.mes.md.controller.MdProductBomController.add()', 'POST', 1, 'admin', NULL, '/mes/md/bom', '127.0.0.1', '内网IP', '{\"bomId\":202,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"bomItemCode\":\"C00003\",\"params\":{},\"bomItemId\":201,\"bomItemName\":\"A020\",\"itemId\":200,\"createTime\":1661314760769,\"enableFlag\":\"Y\",\"bomItemSpec\":\"A020\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:19:20');
INSERT INTO `sys_oper_log` VALUES (231, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"ITEM_TYPE_01\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:19:34');
INSERT INTO `sys_oper_log` VALUES (232, '产品BOM关系', 1, 'com.ktg.mes.md.controller.MdProductBomController.add()', 'POST', 1, 'admin', NULL, '/mes/md/bom', '127.0.0.1', '内网IP', '{\"bomId\":203,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"bomItemCode\":\"C00003\",\"params\":{},\"bomItemId\":201,\"bomItemName\":\"A020\",\"itemId\":201,\"createTime\":1661314784782,\"enableFlag\":\"Y\",\"bomItemSpec\":\"A020\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:19:44');
INSERT INTO `sys_oper_log` VALUES (233, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00003\",\"itemTypeCode\":\"ITEM_TYPE_02\",\"specification\":\"A020\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":201,\"createBy\":\"admin\",\"itemName\":\"A020\",\"createTime\":1661314361000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"原材料\",\"itemTypeId\":202,\"enableFlag\":\"Y\",\"itemOrProduct\":\"ITEM\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:19:50');
INSERT INTO `sys_oper_log` VALUES (234, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', NULL, 1, '未获取到指定类型:[WORKORDER_CODE]的业务编码生成规则', '2022-08-24 12:20:04');
INSERT INTO `sys_oper_log` VALUES (235, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"sourceCode\":\"20220824\",\"workorderId\":200,\"children\":[],\"workorderName\":\"AG02生产工单01\",\"requestDate\":1661356800000,\"ancestors\":\"0\",\"orderSource\":\"ORDER\",\"clientId\":200,\"quantity\":1,\"productId\":200,\"unitOfMeasure\":\"KG\",\"params\":{},\"parentId\":0,\"productCode\":\"C00002\",\"workorderCode\":\"GD0001\",\"createTime\":1661314858028,\"clientCode\":\"1234\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":200}', 0, NULL, '2022-08-24 12:20:58');
INSERT INTO `sys_oper_log` VALUES (236, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"sourceCode\":\"20220824\",\"workorderId\":200,\"children\":[],\"workorderName\":\"AG02生产工单01\",\"requestDate\":1661356800000,\"orderSource\":\"ORDER\",\"clientId\":200,\"quantity\":1,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661314882272,\"params\":{},\"parentId\":0,\"productCode\":\"C00002\",\"workorderCode\":\"GD0001\",\"clientCode\":\"1234\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:21:22');
INSERT INTO `sys_oper_log` VALUES (237, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"sourceCode\":\"20220824\",\"workorderId\":200,\"children\":[],\"workorderName\":\"AG02生产工单01\",\"requestDate\":1661356800000,\"orderSource\":\"ORDER\",\"clientId\":200,\"quantity\":1,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661314888905,\"params\":{},\"parentId\":0,\"productCode\":\"C00002\",\"workorderCode\":\"GD0001\",\"clientCode\":\"1234\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:21:29');
INSERT INTO `sys_oper_log` VALUES (238, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"sourceCode\":\"20220824\",\"workorderId\":200,\"children\":[],\"workorderName\":\"AG02生产工单01\",\"requestDate\":1661356800000,\"orderSource\":\"ORDER\",\"clientId\":200,\"quantity\":1,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661314900632,\"params\":{},\"parentId\":0,\"productCode\":\"C00002\",\"workorderCode\":\"GD0001\",\"clientCode\":\"1234\",\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:21:40');
INSERT INTO `sys_oper_log` VALUES (239, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', 'TASK_CODE', NULL, 1, '未获取到指定类型:[TASK_CODE]的业务编码生成规则', '2022-08-24 12:26:01');
INSERT INTO `sys_oper_log` VALUES (240, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS001\",\"workorderId\":200,\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":200,\"startTime\":1661306400000,\"clientId\":200,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站\",\"params\":{},\"itemId\":200,\"workorderCode\":\"GD0001\",\"clientCode\":\"1234\",\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"endTime\":1661335200000}', NULL, 1, '未获取到指定类型:[TASK_CODE]的业务编码生成规则', '2022-08-24 12:26:01');
INSERT INTO `sys_oper_log` VALUES (241, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', 'TASK_CODE', NULL, 1, '未获取到指定类型:[TASK_CODE]的业务编码生成规则', '2022-08-24 12:26:34');
INSERT INTO `sys_oper_log` VALUES (242, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS001\",\"workorderId\":200,\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":200,\"startTime\":1661306400000,\"clientId\":200,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站\",\"params\":{},\"itemId\":200,\"workorderCode\":\"GD0001\",\"clientCode\":\"1234\",\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"endTime\":1661335200000}', NULL, 1, '未获取到指定类型:[TASK_CODE]的业务编码生成规则', '2022-08-24 12:26:34');
INSERT INTO `sys_oper_log` VALUES (243, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"TASK_CODE\",\"createBy\":\"admin\",\"ruleDesc\":\"\",\"ruleName\":\"生产任务编码规则\",\"enableFlag\":\"Y\",\"maxLength\":12}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:27:38');
INSERT INTO `sys_oper_log` VALUES (244, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"fixCharacter\":\"TASK\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"固定前缀\",\"createBy\":\"admin\",\"ruleId\":209,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:28:17');
INSERT INTO `sys_oper_log` VALUES (245, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"dateFormat\":\"yyyy\",\"partCode\":\"YEAR\",\"params\":{},\"partIndex\":2,\"partName\":\"年份\",\"createBy\":\"admin\",\"ruleId\":209,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:28:48');
INSERT INTO `sys_oper_log` VALUES (246, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"YEAR\",\"ruleId\":209,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:29:54');
INSERT INTO `sys_oper_log` VALUES (247, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', 'TASK_CODE', '\"TASK20220001\"', 0, NULL, '2022-08-24 12:29:57');
INSERT INTO `sys_oper_log` VALUES (248, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS001\",\"workorderId\":200,\"taskCode\":\"TASK20220001\",\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":200,\"startTime\":1661306400000,\"clientId\":200,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站\",\"params\":{},\"itemId\":200,\"workorderCode\":\"GD0001\",\"createTime\":1661315397222,\"clientCode\":\"1234\",\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【1】KG\",\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:29:57');
INSERT INTO `sys_oper_log` VALUES (249, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskMobController.changeStatus()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/change', '192.168.3.139', '内网IP', '{\"updateTime\":1661315428683,\"params\":{},\"taskId\":200,\"status\":\"FINISHED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:30:28');
INSERT INTO `sys_oper_log` VALUES (250, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskMobController.changeStatus()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/change', '192.168.3.139', '内网IP', '{\"updateTime\":1661315482154,\"params\":{},\"taskId\":200,\"status\":\"FINISHED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:31:22');
INSERT INTO `sys_oper_log` VALUES (251, '生产报工', 1, 'com.ktg.mes.pro.controller.ProTaskMobController.feedBack()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/feedback', '192.168.3.139', '内网IP', '{\"feedbackTime\":1661315511806,\"recordId\":200,\"workstationCode\":\"WS001\",\"workorderId\":200,\"taskCode\":\"TASK20220001\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":200,\"quantity\":1.0,\"quantityQualified\":1,\"workstationName\":\"配料站\",\"params\":{},\"quantityFeedback\":1,\"userName\":\"admin\",\"workorderCode\":\"GD0001\",\"createTime\":1661315511857,\"taskId\":200,\"quantityUnquanlified\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:31:51');
INSERT INTO `sys_oper_log` VALUES (252, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskMobController.changeStatus()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/change', '192.168.3.139', '内网IP', '{\"updateTime\":1661315532183,\"params\":{},\"taskId\":200,\"status\":\"FINISHED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:32:12');
INSERT INTO `sys_oper_log` VALUES (253, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskMobController.changeStatus()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/change', '192.168.3.139', '内网IP', '{\"updateTime\":1661315534371,\"params\":{},\"taskId\":200,\"status\":\"FINISHED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:32:14');
INSERT INTO `sys_oper_log` VALUES (254, '工作站', 1, 'com.ktg.mes.md.controller.MdWorkstationController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"研磨车间\",\"workstationName\":\"分散工作站\",\"params\":{},\"workstationCode\":\"WS002\",\"createTime\":1661315819189,\"processId\":201,\"processName\":\"分散工序\",\"processCode\":\"GX002\",\"workstationId\":201,\"workshopId\":200,\"workshopCode\":\"YM001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"研磨车间01\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:36:59');
INSERT INTO `sys_oper_log` VALUES (255, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', 'TASK_CODE', '\"TASK20220002\"', 0, NULL, '2022-08-24 12:37:38');
INSERT INTO `sys_oper_log` VALUES (256, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"clientName\":\"1234\",\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS002\",\"workorderId\":200,\"taskCode\":\"TASK20220002\",\"processId\":201,\"processName\":\"分散工序\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":201,\"startTime\":1661310000000,\"clientId\":200,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"分散工作站\",\"params\":{},\"itemId\":200,\"workorderCode\":\"GD0001\",\"createTime\":1661315858214,\"clientCode\":\"1234\",\"processCode\":\"GX002\",\"colorCode\":\"#F33100\",\"taskName\":\"AG02【1】KG\",\"endTime\":1661338800000,\"taskId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 12:37:38');
INSERT INTO `sys_oper_log` VALUES (257, '生产报工', 1, 'com.ktg.mes.pro.controller.ProTaskMobController.feedBack()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/feedback', '192.168.3.139', '内网IP', '{\"feedbackTime\":1661322305329,\"recordId\":201,\"workstationCode\":\"WS002\",\"workorderId\":200,\"taskCode\":\"TASK20220002\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":201,\"quantity\":1.0,\"quantityQualified\":1,\"workstationName\":\"分散工作站\",\"params\":{},\"quantityFeedback\":1,\"userName\":\"admin\",\"workorderCode\":\"GD0001\",\"createTime\":1661322305381,\"taskId\":201,\"quantityUnquanlified\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:25:05');
INSERT INTO `sys_oper_log` VALUES (258, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661306400000,\"updateTime\":1661322591249,\"params\":{},\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:29:51');
INSERT INTO `sys_oper_log` VALUES (259, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661310000000,\"updateTime\":1661322591250,\"params\":{},\"endTime\":1661335200000,\"taskId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:29:51');
INSERT INTO `sys_oper_log` VALUES (260, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661306400000,\"updateTime\":1661322615073,\"params\":{},\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:30:15');
INSERT INTO `sys_oper_log` VALUES (261, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661306400000,\"updateTime\":1661322714413,\"params\":{},\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:31:54');
INSERT INTO `sys_oper_log` VALUES (262, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661306400000,\"updateTime\":1661322799028,\"params\":{},\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:33:19');
INSERT INTO `sys_oper_log` VALUES (263, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661306400000,\"updateTime\":1661323010029,\"params\":{},\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:36:50');
INSERT INTO `sys_oper_log` VALUES (264, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskMobController.changeStatus()', 'POST', 1, 'admin', NULL, '/mobile/pro/protask/change', '192.168.3.139', '内网IP', '{\"updateTime\":1661323157724,\"params\":{},\"taskId\":201,\"status\":\"FINISHED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:39:17');
INSERT INTO `sys_oper_log` VALUES (265, '检测模板', 1, 'com.ktg.mes.qc.controller.QcTemplateController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qctemplate', '127.0.0.1', '内网IP', '{\"templateCode\":\"QC-CP001\",\"params\":{},\"templateId\":200,\"qcTypes\":\"FQC\",\"createTime\":1661324072280,\"templateName\":\"成品检验模板01\",\"enableFlag\":\"Y\",\"qcTypesParam\":[\"FQC\"]}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:54:32');
INSERT INTO `sys_oper_log` VALUES (266, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_INDEX_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_INDEX_CODE}', NULL, 1, '未获取到指定类型:[QC_INDEX_CODE]的业务编码生成规则', '2022-08-24 14:55:07');
INSERT INTO `sys_oper_log` VALUES (267, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"QC_INDEX_CODE\",\"createBy\":\"admin\",\"ruleName\":\"检测项编码规则\",\"enableFlag\":\"Y\",\"maxLength\":5}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:55:55');
INSERT INTO `sys_oper_log` VALUES (268, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"I\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":210,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:56:48');
INSERT INTO `sys_oper_log` VALUES (269, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":210,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:57:17');
INSERT INTO `sys_oper_log` VALUES (270, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_INDEX_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_INDEX_CODE}', '\"I0001\"', 0, NULL, '2022-08-24 14:57:22');
INSERT INTO `sys_oper_log` VALUES (271, '检测项', 1, 'com.ktg.mes.qc.controller.QcIndexController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qcindex', '127.0.0.1', '内网IP', '{\"indexName\":\"研磨粘度(25°度)\",\"indexCode\":\"I0001\",\"params\":{},\"indexType\":\"COMPONENT\",\"createTime\":1661324267709,\"indexId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:57:47');
INSERT INTO `sys_oper_log` VALUES (272, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_INDEX_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_INDEX_CODE}', '\"I0002\"', 0, NULL, '2022-08-24 14:57:57');
INSERT INTO `sys_oper_log` VALUES (273, '检测项', 1, 'com.ktg.mes.qc.controller.QcIndexController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qcindex', '127.0.0.1', '内网IP', '{\"indexName\":\"包装前粘度(25°C)\",\"indexCode\":\"I0002\",\"params\":{},\"indexType\":\"COMPONENT\",\"createTime\":1661324299932,\"indexId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:58:20');
INSERT INTO `sys_oper_log` VALUES (274, '检测项', 2, 'com.ktg.mes.qc.controller.QcIndexController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/qcindex', '127.0.0.1', '内网IP', '{\"indexName\":\"研磨粘度(25°C)\",\"indexCode\":\"I0001\",\"remark\":\"\",\"updateTime\":1661324308505,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"indexType\":\"COMPONENT\",\"createTime\":1661324268000,\"updateBy\":\"\",\"indexId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:58:28');
INSERT INTO `sys_oper_log` VALUES (275, '检测模板-检测项', 1, 'com.ktg.mes.qc.controller.QcTemplateIndexController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/templateindex', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"indexName\":\"研磨粘度(25°C)\",\"checkMethod\":\"正常检测\",\"indexCode\":\"I0001\",\"params\":{},\"templateId\":200,\"thresholdMax\":3,\"recordId\":200,\"indexType\":\"COMPONENT\",\"thresholdMin\":-3,\"createTime\":1661324370869,\"standerVal\":120,\"indexId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:59:30');
INSERT INTO `sys_oper_log` VALUES (276, '检测模板', 2, 'com.ktg.mes.qc.controller.QcTemplateController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/qctemplate', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"updateTime\":1661324383417,\"templateCode\":\"QC-CP001\",\"params\":{},\"templateId\":200,\"attr4\":0,\"attr3\":0,\"qcTypes\":\"FQC\",\"createBy\":\"\",\"createTime\":1661324072000,\"templateName\":\"成品检验模板01\",\"updateBy\":\"\",\"enableFlag\":\"Y\",\"qcTypesParam\":[\"FQC\"]}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 14:59:43');
INSERT INTO `sys_oper_log` VALUES (277, '检测模板-产品', 1, 'com.ktg.mes.qc.controller.QcTemplateProductController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/templateproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"specification\":\"USR-100\",\"params\":{},\"templateId\":200,\"recordId\":200,\"itemId\":200,\"itemName\":\"AG02\",\"crRate\":0,\"createTime\":1661324447844,\"quantityCheck\":1,\"quantityUnqualified\":0,\"minRate\":100,\"majRate\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:00:47');
INSERT INTO `sys_oper_log` VALUES (278, '检测模板', 2, 'com.ktg.mes.qc.controller.QcTemplateController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/qctemplate', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"updateTime\":1661324450944,\"templateCode\":\"QC-CP001\",\"params\":{},\"templateId\":200,\"attr4\":0,\"attr3\":0,\"qcTypes\":\"FQC\",\"createBy\":\"\",\"createTime\":1661324072000,\"templateName\":\"成品检验模板01\",\"updateBy\":\"\",\"enableFlag\":\"Y\",\"qcTypesParam\":[\"FQC\"]}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:00:51');
INSERT INTO `sys_oper_log` VALUES (279, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_IQC_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_IQC_CODE}', NULL, 1, '未获取到指定类型:[QC_IQC_CODE]的业务编码生成规则', '2022-08-24 15:00:57');
INSERT INTO `sys_oper_log` VALUES (280, '检测模板-产品', 2, 'com.ktg.mes.qc.controller.QcTemplateProductController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/templateproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"specification\":\"USR-100\",\"remark\":\"\",\"updateTime\":1661324560619,\"params\":{},\"templateId\":200,\"attr4\":0,\"attr3\":0,\"recordId\":200,\"itemId\":200,\"createBy\":\"\",\"itemName\":\"AG02\",\"crRate\":0,\"createTime\":1661324448000,\"quantityCheck\":1,\"updateBy\":\"\",\"quantityUnqualified\":1,\"minRate\":100,\"majRate\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:02:40');
INSERT INTO `sys_oper_log` VALUES (281, '检测模板', 2, 'com.ktg.mes.qc.controller.QcTemplateController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/qctemplate', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"updateTime\":1661324561837,\"templateCode\":\"QC-CP001\",\"params\":{},\"templateId\":200,\"attr4\":0,\"attr3\":0,\"qcTypes\":\"FQC\",\"createBy\":\"\",\"createTime\":1661324072000,\"templateName\":\"成品检验模板01\",\"updateBy\":\"\",\"enableFlag\":\"Y\",\"qcTypesParam\":[\"FQC\"]}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:02:41');
INSERT INTO `sys_oper_log` VALUES (282, '来料检验单', 1, 'com.ktg.mes.qc.controller.QcIqcController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"templateId\":200,\"checkResult\":\"ACCEPT\",\"quantityRecived\":3,\"itemName\":\"AG02\",\"reciveDate\":1661270400000,\"quantityUnqualified\":1,\"iqcCode\":\"11\",\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"inspector\":\"admin\",\"params\":{},\"itemId\":200,\"createTime\":1661324602548,\"quantityCheck\":1,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'vendor_id\' doesn\'t have a default value\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-mes/target/classes/mapper/qc/QcIqcMapper.xml]\n### The error may involve com.ktg.mes.qc.mapper.QcIqcMapper.insertQcIqc-Inline\n### The error occurred while setting parameters\n### SQL: insert into qc_iqc          ( iqc_code,             iqc_name,             template_id,                                                                              item_id,             item_code,             item_name,             specification,             unit_of_measure,                                       quantity_recived,             quantity_check,             quantity_unqualified,                                                                                           check_result,             recive_date,             inspect_date,             inspector,             status,                                                                                           create_time )           values ( ?,             ?,             ?,                                                                              ?,             ?,             ?,             ?,             ?,                                       ?,             ?,             ?,                                                                                           ?,             ?,             ?,             ?,             ?,                                                                                           ? )\n### Cause: java.sql.SQLException: Field \'vendor_id\' doesn\'t have a default value\n; Field \'vendor_id\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'vendor_id\' doesn\'t have a default value', '2022-08-24 15:03:22');
INSERT INTO `sys_oper_log` VALUES (283, '供应商', 1, 'com.ktg.mes.md.controller.MdVendorController.add()', 'POST', 1, 'admin', NULL, '/mes/md/vendor', '127.0.0.1', '内网IP', '{\"vendorId\":200,\"vendorCode\":\"GYS001\",\"vendorNick\":\"XXX供应商公司\",\"enableFlag\":\"Y\",\"vendorLevel\":\"B\",\"address\":\"XXX供应商公司\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"vendorDes\":\"XXX供应商公司\",\"createTime\":1661324640955,\"vendorScore\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:04:01');
INSERT INTO `sys_oper_log` VALUES (284, '来料检验单', 1, 'com.ktg.mes.qc.controller.QcIqcController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"templateId\":200,\"checkResult\":\"ACCEPT\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"quantityUnqualified\":1,\"iqcCode\":\"11\",\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"inspector\":\"admin\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"itemId\":200,\"createTime\":1661324651714,\"quantityCheck\":1,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":200}', 0, NULL, '2022-08-24 15:04:11');
INSERT INTO `sys_oper_log` VALUES (285, '来料检验单', 2, 'com.ktg.mes.qc.controller.QcIqcController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"templateId\":200,\"checkResult\":\"ACCEPT\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"quantityUnqualified\":3,\"iqcCode\":\"11\",\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"updateTime\":1661324690507,\"params\":{},\"vendorName\":\"XXX供应商公司\",\"itemId\":200,\"quantityCheck\":3,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:04:50');
INSERT INTO `sys_oper_log` VALUES (286, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"flag\":\"add\",\"defectName\":\"致命缺陷\",\"lineId\":200,\"iqcId\":200,\"params\":{},\"recordId\":200,\"createTime\":1661324720048,\"defectLevel\":\"CR\",\"defectQuantity\":1}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:05:20');
INSERT INTO `sys_oper_log` VALUES (287, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"defectName\":\"致命缺陷\",\"lineId\":200,\"iqcId\":200,\"remark\":\"\",\"updateTime\":1661324723257,\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":200,\"createBy\":\"\",\"createTime\":1661324720000,\"updateBy\":\"\",\"defectLevel\":\"CR\",\"defectQuantity\":1}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:05:23');
INSERT INTO `sys_oper_log` VALUES (288, '来料检验单', 2, 'com.ktg.mes.qc.controller.QcIqcController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"templateId\":200,\"checkResult\":\"ACCEPT\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"quantityUnqualified\":3,\"iqcCode\":\"11\",\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"updateTime\":1661324729804,\"params\":{},\"vendorName\":\"XXX供应商公司\",\"itemId\":200,\"quantityCheck\":3,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:05:29');
INSERT INTO `sys_oper_log` VALUES (289, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"flag\":\"add\",\"defectName\":\"严重\",\"lineId\":202,\"iqcId\":200,\"params\":{},\"recordId\":201,\"createTime\":1661324915266,\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:08:35');
INSERT INTO `sys_oper_log` VALUES (290, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"defectName\":\"严重\",\"lineId\":202,\"iqcId\":200,\"remark\":\"\",\"updateTime\":1661324922398,\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":201,\"createBy\":\"\",\"createTime\":1661324915000,\"updateBy\":\"\",\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:08:42');
INSERT INTO `sys_oper_log` VALUES (291, '来料检验单', 2, 'com.ktg.mes.qc.controller.QcIqcController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"quantityMaxUnqualified\":0,\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"remark\":\"\",\"templateId\":200,\"checkResult\":\"ACCEPT\",\"majQuantity\":0,\"inspectorName\":\"若依\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"minQuantity\":0,\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"updateBy\":\"\",\"quantityUnqualified\":3,\"iqcCode\":\"11\",\"majRate\":0,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"quantityMinCheck\":1,\"updateTime\":1661324927735,\"inspector\":\"admin\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"attr4\":0,\"attr3\":0,\"itemId\":200,\"createBy\":\"\",\"crRate\":33.33,\"createTime\":1661324652000,\"quantityCheck\":3,\"crQuantity\":1,\"minRate\":0,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:08:47');
INSERT INTO `sys_oper_log` VALUES (292, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"flag\":\"add\",\"defectName\":\"严重\",\"lineId\":203,\"iqcId\":200,\"params\":{},\"recordId\":202,\"createTime\":1661324972738,\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:09:32');
INSERT INTO `sys_oper_log` VALUES (293, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"defectName\":\"严重\",\"lineId\":203,\"iqcId\":200,\"remark\":\"\",\"updateTime\":1661325002619,\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":202,\"createBy\":\"\",\"createTime\":1661324973000,\"updateBy\":\"\",\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:10:02');
INSERT INTO `sys_oper_log` VALUES (294, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"defectName\":\"严重\",\"lineId\":203,\"iqcId\":200,\"remark\":\"\",\"updateTime\":1661325004568,\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":202,\"createBy\":\"\",\"createTime\":1661324973000,\"updateBy\":\"\",\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:10:04');
INSERT INTO `sys_oper_log` VALUES (295, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"defectName\":\"严重\",\"lineId\":203,\"iqcId\":200,\"remark\":\"\",\"updateTime\":1661325013164,\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":202,\"createBy\":\"\",\"createTime\":1661324973000,\"updateBy\":\"\",\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:10:13');
INSERT INTO `sys_oper_log` VALUES (296, '来料检验单', 2, 'com.ktg.mes.qc.controller.QcIqcController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"quantityMaxUnqualified\":0,\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"remark\":\"\",\"templateId\":200,\"checkResult\":\"ACCEPT\",\"majQuantity\":0,\"inspectorName\":\"若依\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"minQuantity\":0,\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"updateBy\":\"\",\"quantityUnqualified\":3,\"iqcCode\":\"11\",\"majRate\":0,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"quantityMinCheck\":1,\"updateTime\":1661325031402,\"inspector\":\"admin\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"attr4\":0,\"attr3\":0,\"itemId\":200,\"createBy\":\"\",\"crRate\":33.33,\"createTime\":1661324652000,\"quantityCheck\":3,\"crQuantity\":1,\"minRate\":0,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:10:31');
INSERT INTO `sys_oper_log` VALUES (297, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"flag\":\"add\",\"defectName\":\"严重\",\"lineId\":204,\"iqcId\":200,\"params\":{},\"recordId\":203,\"createTime\":1661325141132,\"defectLevel\":\"MAJ\",\"defectQuantity\":1}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:12:21');
INSERT INTO `sys_oper_log` VALUES (298, '来料检验单', 2, 'com.ktg.mes.qc.controller.QcIqcController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"quantityMaxUnqualified\":0,\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"remark\":\"\",\"templateId\":200,\"checkResult\":\"ACCEPT\",\"majQuantity\":0,\"inspectorName\":\"若依\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"minQuantity\":0,\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"updateBy\":\"\",\"quantityUnqualified\":3,\"iqcCode\":\"11\",\"majRate\":0,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"quantityMinCheck\":1,\"updateTime\":1661325151581,\"inspector\":\"admin\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"attr4\":0,\"attr3\":0,\"itemId\":200,\"createBy\":\"\",\"crRate\":33.33,\"createTime\":1661324652000,\"quantityCheck\":3,\"crQuantity\":1,\"minRate\":0,\"iqcName\":\"11\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:12:31');
INSERT INTO `sys_oper_log` VALUES (299, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"flag\":\"add\",\"defectName\":\"严重\",\"lineId\":204,\"iqcId\":200,\"params\":{},\"recordId\":204,\"createTime\":1661325163975,\"defectLevel\":\"MAJ\",\"defectQuantity\":2}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:12:44');
INSERT INTO `sys_oper_log` VALUES (300, '来料检验单缺陷记录', 2, 'com.ktg.mes.qc.controller.QcIqcDefectController.updateList()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqcdefect', '127.0.0.1', '内网IP', '[{\"flag\":\"add\",\"defectName\":\"轻微\",\"lineId\":205,\"iqcId\":200,\"params\":{},\"recordId\":205,\"createTime\":1661325357064,\"defectLevel\":\"MIN\",\"defectQuantity\":1}]', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:15:57');
INSERT INTO `sys_oper_log` VALUES (301, '字典数据', 2, 'com.ktg.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"PL\",\"listClass\":\"default\",\"dictSort\":1,\"params\":{},\"dictType\":\"mes_calendar_type\",\"dictLabel\":\"配料\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1654666043000,\"dictCode\":166,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:49:34');
INSERT INTO `sys_oper_log` VALUES (302, '字典数据', 2, 'com.ktg.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"PL\",\"listClass\":\"default\",\"dictSort\":1,\"params\":{},\"dictType\":\"mes_calendar_type\",\"dictLabel\":\"配料\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1654666043000,\"dictCode\":166,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:51:41');
INSERT INTO `sys_oper_log` VALUES (303, '字典数据', 2, 'com.ktg.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"SC\",\"listClass\":\"default\",\"dictSort\":2,\"params\":{},\"dictType\":\"mes_calendar_type\",\"dictLabel\":\"生产\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1654666055000,\"dictCode\":167,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:51:50');
INSERT INTO `sys_oper_log` VALUES (304, '字典数据', 2, 'com.ktg.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"PG\",\"listClass\":\"default\",\"dictSort\":3,\"params\":{},\"dictType\":\"mes_calendar_type\",\"dictLabel\":\"品管\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1654666075000,\"dictCode\":168,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:52:03');
INSERT INTO `sys_oper_log` VALUES (305, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '127.0.0.1', '内网IP', '{\"duration\":1,\"startTime\":1661310000000,\"updateTime\":1661327671361,\"params\":{},\"endTime\":1661338800000,\"taskId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 15:54:31');
INSERT INTO `sys_oper_log` VALUES (306, '参数管理', 2, 'com.ktg.web.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', NULL, '/system/config', '127.0.0.1', '内网IP', '{\"configName\":\"账号自助-验证码开关\",\"configKey\":\"sys.account.captchaOnOff\",\"createBy\":\"admin\",\"createTime\":1661280998000,\"updateBy\":\"admin\",\"configId\":4,\"remark\":\"是否开启验证码功能（true开启，false关闭）\",\"configType\":\"Y\",\"configValue\":\"false\",\"params\":{}}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 16:21:48');
INSERT INTO `sys_oper_log` VALUES (307, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/202', '127.0.0.1', '内网IP', '{itemTypeId=202}', '{\"msg\":\"分类下有物料，请先删除物料\",\"code\":500}', 0, NULL, '2022-08-24 23:54:39');
INSERT INTO `sys_oper_log` VALUES (308, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00003\",\"itemTypeCode\":\"03\",\"specification\":\"A020\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":201,\"createBy\":\"admin\",\"itemName\":\"A020\",\"createTime\":1661314361000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"原材料\",\"itemTypeId\":385,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 23:55:10');
INSERT INTO `sys_oper_log` VALUES (309, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/202', '127.0.0.1', '内网IP', '{itemTypeId=202}', '{\"msg\":\"分类下有物料，请先删除物料\",\"code\":500}', 0, NULL, '2022-08-24 23:55:23');
INSERT INTO `sys_oper_log` VALUES (310, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00003\",\"itemTypeCode\":\"0303\",\"specification\":\"A020\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":201,\"createBy\":\"admin\",\"itemName\":\"A020\",\"createTime\":1661314361000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"粉末\",\"itemTypeId\":390,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-24 23:56:01');
INSERT INTO `sys_oper_log` VALUES (311, '代码生成', 6, 'com.ktg.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', NULL, '/tool/gen/importTable', '127.0.0.1', '内网IP', 'wm_warehouse,wm_barcode,wm_issue_header,wm_issue_line,wm_item_recpt,wm_item_recpt_line,wm_material_stock,wm_storage_location,wm_rt_vendor,wm_transaction', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 14:56:01');
INSERT INTO `sys_oper_log` VALUES (312, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 15:25:32');
INSERT INTO `sys_oper_log` VALUES (313, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 15:47:08');
INSERT INTO `sys_oper_log` VALUES (314, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"yinjinlu\",\"columns\":[{\"capJavaField\":\"LocationId\",\"usableColumn\":false,\"columnId\":183,\"isIncrement\":\"1\",\"increment\":true,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"locationId\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"库区ID\",\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"Long\",\"queryType\":\"EQ\",\"columnType\":\"bigint\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661410559000,\"tableId\":8,\"pk\":true,\"columnName\":\"location_id\"},{\"capJavaField\":\"LocationCode\",\"usableColumn\":false,\"columnId\":184,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"locationCode\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"库区编码\",\"isQuery\":\"1\",\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(64)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661410559000,\"isEdit\":\"1\",\"tableId\":8,\"pk\":false,\"columnName\":\"location_code\"},{\"capJavaField\":\"LocationName\",\"usableColumn\":false,\"columnId\":185,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"locationName\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"库区名称\",\"isQuery\":\"1\",\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(255)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661410559000,\"isEdit\":\"1\",\"tableId\":8,\"pk\":false,\"columnName\":\"location_name\"},{\"capJavaField\":\"WarehouseId\",\"usableColumn\":false,\"columnId\":186,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"warehouseId\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"仓库ID\",\"isQuery\":\"1\",\"sort\":4,\"list\":tru', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 15:50:09');
INSERT INTO `sys_oper_log` VALUES (315, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 15:50:12');
INSERT INTO `sys_oper_log` VALUES (316, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"yinjinlu\",\"columns\":[{\"capJavaField\":\"WarehouseId\",\"usableColumn\":false,\"columnId\":238,\"isIncrement\":\"1\",\"increment\":true,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"warehouseId\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"仓库ID\",\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"Long\",\"queryType\":\"EQ\",\"columnType\":\"bigint\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661410561000,\"tableId\":10,\"pk\":true,\"columnName\":\"warehouse_id\"},{\"capJavaField\":\"WarehouseCode\",\"usableColumn\":false,\"columnId\":239,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"warehouseCode\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"仓库编码\",\"isQuery\":\"1\",\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(64)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661410561000,\"isEdit\":\"1\",\"tableId\":10,\"pk\":false,\"columnName\":\"warehouse_code\"},{\"capJavaField\":\"WarehouseName\",\"usableColumn\":false,\"columnId\":240,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"warehouseName\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"仓库名称\",\"isQuery\":\"1\",\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(255)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661410561000,\"isEdit\":\"1\",\"tableId\":10,\"pk\":false,\"columnName\":\"warehouse_name\"},{\"capJavaField\":\"Location\",\"usableColumn\":false,\"columnId\":241,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"location\",\"htmlType\":\"textarea\",\"edit\":true,\"query\":true,\"columnComment\":\"位置\",\"isQuery\":\"1\",\"sort\":4,\"list\":true,\"params', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 15:50:43');
INSERT INTO `sys_oper_log` VALUES (317, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 15:50:53');
INSERT INTO `sys_oper_log` VALUES (318, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"yinjinlu\",\"columns\":[{\"capJavaField\":\"WarehouseId\",\"usableColumn\":false,\"columnId\":238,\"isIncrement\":\"1\",\"increment\":true,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"warehouseId\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"仓库ID\",\"updateTime\":1661413842000,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"Long\",\"queryType\":\"EQ\",\"columnType\":\"bigint\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661410561000,\"tableId\":10,\"pk\":true,\"columnName\":\"warehouse_id\"},{\"capJavaField\":\"WarehouseCode\",\"usableColumn\":false,\"columnId\":239,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"warehouseCode\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"仓库编码\",\"isQuery\":\"1\",\"updateTime\":1661413842000,\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(64)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661410561000,\"isEdit\":\"1\",\"tableId\":10,\"pk\":false,\"columnName\":\"warehouse_code\"},{\"capJavaField\":\"WarehouseName\",\"usableColumn\":false,\"columnId\":240,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"warehouseName\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"仓库名称\",\"isQuery\":\"1\",\"updateTime\":1661413842000,\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(255)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661410561000,\"isEdit\":\"1\",\"tableId\":10,\"pk\":false,\"columnName\":\"warehouse_name\"},{\"capJavaField\":\"Location\",\"usableColumn\":false,\"columnId\":241,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"location\",\"htmlType\":\"textarea\",\"edit\":', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 15:52:21');
INSERT INTO `sys_oper_log` VALUES (319, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 15:52:24');
INSERT INTO `sys_oper_log` VALUES (320, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 16:07:07');
INSERT INTO `sys_oper_log` VALUES (321, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 16:35:28');
INSERT INTO `sys_oper_log` VALUES (322, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 16:48:07');
INSERT INTO `sys_oper_log` VALUES (323, '代码生成', 6, 'com.ktg.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', NULL, '/tool/gen/importTable', '127.0.0.1', '内网IP', 'mes_device', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 16:59:18');
INSERT INTO `sys_oper_log` VALUES (324, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 16:59:30');
INSERT INTO `sys_oper_log` VALUES (325, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"Id\",\"usableColumn\":false,\"columnId\":253,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"id\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(36)\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661417957000,\"tableId\":11,\"pk\":true,\"columnName\":\"id\"},{\"capJavaField\":\"CreateBy\",\"usableColumn\":false,\"columnId\":254,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":true,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"createBy\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"创建人\",\"sort\":2,\"list\":false,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(50)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661417957000,\"tableId\":11,\"pk\":false,\"columnName\":\"create_by\"},{\"capJavaField\":\"CreateTime\",\"usableColumn\":false,\"columnId\":255,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":true,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"createTime\",\"htmlType\":\"datetime\",\"edit\":false,\"query\":false,\"columnComment\":\"创建日期\",\"sort\":3,\"list\":false,\"params\":{},\"javaType\":\"Date\",\"queryType\":\"EQ\",\"columnType\":\"datetime\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661417957000,\"tableId\":11,\"pk\":false,\"columnName\":\"create_time\"},{\"capJavaField\":\"UpdateBy\",\"usableColumn\":false,\"columnId\":256,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":true,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"updateBy\",\"htmlType\":\"input\",\"edit\":true,\"query\":false,\"columnComment\":\"更新人\",\"sort\":4,\"list\":false,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(50)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661417958000,\"isEdit\":\"1\",\"tableId\":11,\"pk\":false,\"columnName\":\"update_by\"},{\"capJavaField\":\"Updat', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 17:00:08');
INSERT INTO `sys_oper_log` VALUES (326, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-25 17:00:10');
INSERT INTO `sys_oper_log` VALUES (327, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"#\",\"orderNum\":1,\"menuName\":\"设备\",\"params\":{},\"parentId\":3,\"isCache\":\"0\",\"path\":\"device\",\"component\":\"mes/md/device/index\",\"children\":[],\"createTime\":1661418376000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2197,\"menuType\":\"C\",\"perms\":\"md:device:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-25 17:07:14');
INSERT INTO `sys_oper_log` VALUES (328, '设备', 1, 'com.ktg.mes.device.controller.MesDeviceController.add()', 'POST', 1, 'admin', NULL, '/md/device', '127.0.0.1', '内网IP', '{\"code\":\"11111\",\"params\":{},\"registryTime\":1661356800000,\"createTime\":1661419681695,\"name\":\"111\",\"id\":\"1562733527395401730\",\"state\":\"111\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'cc_type\' doesn\'t have a default value\n### The error may exist in com/ktg/mes/device/mapper/MesDeviceMapper.java (best guess)\n### The error may involve com.ktg.mes.device.mapper.MesDeviceMapper.insert-Inline\n### The error occurred while setting parameters\n### SQL: INSERT INTO mes_device  ( id,  registry_time, code, name,  state,            create_time )  VALUES  ( ?,  ?, ?, ?,  ?,            ? )\n### Cause: java.sql.SQLException: Field \'cc_type\' doesn\'t have a default value\n; Field \'cc_type\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'cc_type\' doesn\'t have a default value', '2022-08-25 17:28:02');
INSERT INTO `sys_oper_log` VALUES (329, '设备', 1, 'com.ktg.mes.device.controller.MesDeviceController.add()', 'POST', 1, 'admin', NULL, '/md/device', '127.0.0.1', '内网IP', '{\"classify\":\"11\",\"code\":\"11111\",\"workshopLineCode\":\"11\",\"manual\":\"111\",\"params\":{},\"registryTime\":1661356800000,\"des\":\"11\",\"createTime\":1661419700853,\"name\":\"111\",\"linePositionId\":\"11\",\"sysOrgCode\":\"11\",\"workshopId\":\"11\",\"id\":\"1562733607426916353\",\"state\":\"111\",\"workshopCode\":\"11\",\"workshopLineId\":\"11\"}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'cc_type\' doesn\'t have a default value\n### The error may exist in com/ktg/mes/device/mapper/MesDeviceMapper.java (best guess)\n### The error may involve com.ktg.mes.device.mapper.MesDeviceMapper.insert-Inline\n### The error occurred while setting parameters\n### SQL: INSERT INTO mes_device  ( id, sys_org_code, registry_time, code, name, classify, state, line_position_id, workshop_line_id, workshop_id,  workshop_code, workshop_line_code,  des, manual,   create_time )  VALUES  ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,  ?, ?,  ?, ?,   ? )\n### Cause: java.sql.SQLException: Field \'cc_type\' doesn\'t have a default value\n; Field \'cc_type\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'cc_type\' doesn\'t have a default value', '2022-08-25 17:28:20');
INSERT INTO `sys_oper_log` VALUES (330, '设备', 1, 'com.ktg.mes.device.controller.MesDeviceController.add()', 'POST', 1, 'admin', NULL, '/md/device', '127.0.0.1', '内网IP', '{\"classify\":\"11\",\"code\":\"11111\",\"workshopLineCode\":\"11\",\"manual\":\"111\",\"params\":{},\"registryTime\":1661356800000,\"des\":\"11\",\"createTime\":1661419728098,\"name\":\"111\",\"linePositionId\":\"11\",\"sysOrgCode\":\"11\",\"workshopId\":\"11\",\"id\":\"1562733721667174402\",\"state\":\"111\",\"workshopCode\":\"11\",\"workshopLineId\":\"11\"}', '{\"code\":200,\"msg\":\"添加成功！\"}', 0, NULL, '2022-08-25 17:28:48');
INSERT INTO `sys_oper_log` VALUES (331, '设备', 1, 'com.ktg.mes.device.controller.MesDeviceController.add()', 'POST', 1, 'admin', NULL, '/md/device', '127.0.0.1', '内网IP', '{\"classify\":\"11\",\"code\":\"111\",\"workshopLineCode\":\"1\",\"manual\":\"1\",\"params\":{},\"registryTime\":1661356800000,\"des\":\"1\",\"createTime\":1661419769794,\"name\":\"111\",\"linePositionId\":\"1\",\"sysOrgCode\":\"11\",\"workshopId\":\"11\",\"id\":\"1562733896615788545\",\"state\":\"11\",\"workshopCode\":\"1\",\"workshopLineId\":\"11\"}', '{\"code\":200,\"msg\":\"添加成功！\"}', 0, NULL, '2022-08-25 17:29:29');
INSERT INTO `sys_oper_log` VALUES (332, '代码生成', 6, 'com.ktg.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', NULL, '/tool/gen/importTable', '127.0.0.1', '内网IP', 'sys_data_source', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 14:13:36');
INSERT INTO `sys_oper_log` VALUES (333, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"Id\",\"usableColumn\":false,\"columnId\":274,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"id\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(36)\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661494415000,\"tableId\":12,\"pk\":true,\"columnName\":\"id\"},{\"capJavaField\":\"Code\",\"usableColumn\":false,\"columnId\":275,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"code\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"数据源编码\",\"isQuery\":\"1\",\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(100)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12,\"pk\":false,\"columnName\":\"code\"},{\"capJavaField\":\"Name\",\"usableColumn\":false,\"columnId\":276,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"name\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"数据源名称\",\"isQuery\":\"1\",\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(100)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12,\"pk\":false,\"columnName\":\"name\"},{\"capJavaField\":\"Remark\",\"usableColumn\":true,\"columnId\":277,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":true,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"remark\",\"htmlType\":\"input\",\"edit\":true,\"query\":false,\"columnComment\":\"备注\",\"sort\":4,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(200)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 14:16:09');
INSERT INTO `sys_oper_log` VALUES (334, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"Id\",\"usableColumn\":false,\"columnId\":274,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"id\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"updateTime\":1661494568000,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(36)\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661494415000,\"tableId\":12,\"pk\":true,\"columnName\":\"id\"},{\"capJavaField\":\"Code\",\"usableColumn\":false,\"columnId\":275,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"code\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"数据源编码\",\"isQuery\":\"1\",\"updateTime\":1661494568000,\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(100)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12,\"pk\":false,\"columnName\":\"code\"},{\"capJavaField\":\"Name\",\"usableColumn\":false,\"columnId\":276,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"name\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"数据源名称\",\"isQuery\":\"1\",\"updateTime\":1661494568000,\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(100)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12,\"pk\":false,\"columnName\":\"name\"},{\"capJavaField\":\"Remark\",\"usableColumn\":true,\"columnId\":277,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":true,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"remark\",\"htmlType\":\"input\",\"edit\":true,\"query\":false,\"columnComment\":\"备注\",\"updateTime\":1661494568000,\"sort\":4,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"c', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 14:17:01');
INSERT INTO `sys_oper_log` VALUES (335, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":false,\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"Id\",\"usableColumn\":false,\"columnId\":274,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"id\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"updateTime\":1661494621000,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(36)\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661494415000,\"tableId\":12,\"pk\":true,\"columnName\":\"id\"},{\"capJavaField\":\"Code\",\"usableColumn\":false,\"columnId\":275,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"code\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"数据源编码\",\"isQuery\":\"1\",\"updateTime\":1661494621000,\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(100)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12,\"pk\":false,\"columnName\":\"code\"},{\"capJavaField\":\"Name\",\"usableColumn\":false,\"columnId\":276,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"name\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"数据源名称\",\"isQuery\":\"1\",\"updateTime\":1661494621000,\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(100)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661494415000,\"isEdit\":\"1\",\"tableId\":12,\"pk\":false,\"columnName\":\"name\"},{\"capJavaField\":\"Remark\",\"usableColumn\":true,\"columnId\":277,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":true,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"remark\",\"htmlType\":\"input\",\"edit\":true,\"query\":false,\"columnComment\":\"备注\",\"updateTime\":1661494621000,\"sort\":4,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"c', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 14:18:43');
INSERT INTO `sys_oper_log` VALUES (336, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-26 14:18:47');
INSERT INTO `sys_oper_log` VALUES (337, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"system\",\"orderNum\":1,\"menuName\":\"数据源\",\"params\":{},\"parentId\":1,\"isCache\":\"0\",\"path\":\"dataSource\",\"component\":\"system/dataSource/index\",\"children\":[],\"createTime\":1661494762000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2203,\"menuType\":\"C\",\"perms\":\"system:dataSource:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:18:17');
INSERT INTO `sys_oper_log` VALUES (338, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:28:43');
INSERT INTO `sys_oper_log` VALUES (339, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"T6 ERP存货分类同步\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"0/10 0/1 0/1 * * ?\",\"jobId\":1,\"createBy\":\"admin\",\"nextValidTime\":1661499840000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"inventoryCatSyncDataTask.execute\",\"misfirePolicy\":\"2\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:43:52');
INSERT INTO `sys_oper_log` VALUES (340, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"T6 ERP存货分类同步\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"0/10 0/1 0/1 * * ?\",\"jobId\":1,\"createBy\":\"admin\",\"nextValidTime\":1661499860000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"inventoryCatSyncDataTask.execute\",\"misfirePolicy\":\"3\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:44:15');
INSERT INTO `sys_oper_log` VALUES (341, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"T6 ERP存货分类同步\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"0/10 0/1 0/1 * * ?\",\"jobId\":1,\"createBy\":\"admin\",\"nextValidTime\":1661499890000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"inventoryCatSyncDataTask.execute\",\"misfirePolicy\":\"3\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:44:47');
INSERT INTO `sys_oper_log` VALUES (342, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:45:09');
INSERT INTO `sys_oper_log` VALUES (343, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"T6 ERP存货分类同步\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"* * 0/1 * * ?\",\"jobId\":1,\"createBy\":\"admin\",\"nextValidTime\":1661500008000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"inventoryCatSyncDataTask.execute\",\"misfirePolicy\":\"3\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:46:47');
INSERT INTO `sys_oper_log` VALUES (344, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.changeStatus()', 'PUT', 1, 'admin', NULL, '/monitor/job/changeStatus', '127.0.0.1', '内网IP', '{\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:47:21');
INSERT INTO `sys_oper_log` VALUES (345, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.changeStatus()', 'PUT', 1, 'admin', NULL, '/monitor/job/changeStatus', '127.0.0.1', '内网IP', '{\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:47:50');
INSERT INTO `sys_oper_log` VALUES (346, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"T6 ERP存货分类同步\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"0 0 */1 * * ?\",\"jobId\":1,\"createBy\":\"admin\",\"nextValidTime\":1661500800000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"inventoryCatSyncDataTask.execute\",\"misfirePolicy\":\"3\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:51:35');
INSERT INTO `sys_oper_log` VALUES (347, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.changeStatus()', 'PUT', 1, 'admin', NULL, '/monitor/job/changeStatus', '127.0.0.1', '内网IP', '{\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:51:40');
INSERT INTO `sys_oper_log` VALUES (348, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"T6 ERP存货分类同步\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"0 0 */1 * * ?\",\"jobId\":1,\"createBy\":\"admin\",\"nextValidTime\":1661500800000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"inventoryCatSyncDataTask.execute\",\"misfirePolicy\":\"1\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:51:51');
INSERT INTO `sys_oper_log` VALUES (349, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '127.0.0.1', '内网IP', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:51:59');
INSERT INTO `sys_oper_log` VALUES (350, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:52:35');
INSERT INTO `sys_oper_log` VALUES (351, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:57:06');
INSERT INTO `sys_oper_log` VALUES (352, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:57:59');
INSERT INTO `sys_oper_log` VALUES (353, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:58:20');
INSERT INTO `sys_oper_log` VALUES (354, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:58:50');
INSERT INTO `sys_oper_log` VALUES (355, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 15:59:57');
INSERT INTO `sys_oper_log` VALUES (356, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:03:47');
INSERT INTO `sys_oper_log` VALUES (357, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '127.0.0.1', '内网IP', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:04:06');
INSERT INTO `sys_oper_log` VALUES (358, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:04:11');
INSERT INTO `sys_oper_log` VALUES (359, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:05:17');
INSERT INTO `sys_oper_log` VALUES (360, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '127.0.0.1', '内网IP', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:06:30');
INSERT INTO `sys_oper_log` VALUES (361, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:06:34');
INSERT INTO `sys_oper_log` VALUES (362, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:21:47');
INSERT INTO `sys_oper_log` VALUES (363, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '127.0.0.1', '内网IP', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:30:55');
INSERT INTO `sys_oper_log` VALUES (364, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:31:06');
INSERT INTO `sys_oper_log` VALUES (365, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '127.0.0.1', '内网IP', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:33:32');
INSERT INTO `sys_oper_log` VALUES (366, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:33:37');
INSERT INTO `sys_oper_log` VALUES (367, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '127.0.0.1', '内网IP', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:46:16');
INSERT INTO `sys_oper_log` VALUES (368, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:46:22');
INSERT INTO `sys_oper_log` VALUES (369, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:50:20');
INSERT INTO `sys_oper_log` VALUES (370, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 16:51:53');
INSERT INTO `sys_oper_log` VALUES (371, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"documentation\",\"orderNum\":4,\"menuName\":\"公共基础\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"mes/md\",\"children\":[],\"createTime\":1650091315000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2000,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:48:40');
INSERT INTO `sys_oper_log` VALUES (372, '菜单管理', 1, 'com.ktg.web.controller.system.SysMenuController.add()', 'POST', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"warehouse\",\"orderNum\":4,\"menuName\":\"车间建模\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"workshop\",\"createBy\":\"admin\",\"children\":[],\"isFrame\":\"1\",\"menuType\":\"M\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:50:54');
INSERT INTO `sys_oper_log` VALUES (373, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"zip\",\"orderNum\":6,\"menuName\":\"车间设置\",\"params\":{},\"parentId\":2209,\"isCache\":\"0\",\"path\":\"workshop\",\"component\":\"mes/md/workshop/index\",\"children\":[],\"createTime\":1651912848000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2036,\"menuType\":\"C\",\"perms\":\"mes:md:workshop\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:51:28');
INSERT INTO `sys_oper_log` VALUES (374, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"job\",\"orderNum\":2,\"menuName\":\"工作站\",\"params\":{},\"parentId\":2209,\"isCache\":\"0\",\"path\":\"workstation\",\"component\":\"mes/md/workstation/index\",\"children\":[],\"createTime\":1652190276000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2088,\"menuType\":\"C\",\"perms\":\"mes:md:workstation\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:52:01');
INSERT INTO `sys_oper_log` VALUES (375, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"zip\",\"orderNum\":1,\"menuName\":\"车间设置\",\"params\":{},\"parentId\":2209,\"isCache\":\"0\",\"path\":\"workshop\",\"component\":\"mes/md/workshop/index\",\"children\":[],\"createTime\":1651912848000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2036,\"menuType\":\"C\",\"perms\":\"mes:md:workshop\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:52:07');
INSERT INTO `sys_oper_log` VALUES (376, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"warehouse\",\"orderNum\":4,\"menuName\":\"车间建模\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"workshop\",\"children\":[],\"createTime\":1661507454000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2209,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:52:46');
INSERT INTO `sys_oper_log` VALUES (377, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"warehouse\",\"orderNum\":5,\"menuName\":\"车间建模\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"workshop\",\"children\":[],\"createTime\":1661507454000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2209,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:53:22');
INSERT INTO `sys_oper_log` VALUES (378, '菜单管理', 1, 'com.ktg.web.controller.system.SysMenuController.add()', 'POST', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"cascader\",\"orderNum\":6,\"menuName\":\"工艺管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"xx\",\"createBy\":\"admin\",\"children\":[],\"isFrame\":\"1\",\"menuType\":\"M\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:56:51');
INSERT INTO `sys_oper_log` VALUES (379, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"cascader\",\"orderNum\":6,\"menuName\":\"工艺管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"tech\",\"children\":[],\"createTime\":1661507811000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2210,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:57:31');
INSERT INTO `sys_oper_log` VALUES (380, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"druid\",\"orderNum\":1,\"menuName\":\"工序设置\",\"params\":{},\"parentId\":2210,\"isCache\":\"0\",\"path\":\"process\",\"component\":\"mes/pro/process/index\",\"children\":[],\"createTime\":1652285038000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2109,\"menuType\":\"C\",\"perms\":\"mes:pro:process\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:57:45');
INSERT INTO `sys_oper_log` VALUES (381, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"nested\",\"orderNum\":2,\"menuName\":\"工艺流程\",\"params\":{},\"parentId\":2210,\"isCache\":\"0\",\"path\":\"proroute\",\"component\":\"mes/pro/proroute/index\",\"children\":[],\"createTime\":1652368106000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2116,\"menuType\":\"C\",\"perms\":\"mes:pro:proroute\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 17:57:55');
INSERT INTO `sys_oper_log` VALUES (382, '来料检验单', 2, 'com.ktg.mes.qc.controller.QcIqcController.edit()', 'PUT', 1, 'admin', NULL, '/mes/qc/iqc', '127.0.0.1', '内网IP', '{\"quantityMaxUnqualified\":0,\"inspectDate\":1661356800000,\"itemCode\":\"C00002\",\"vendorId\":200,\"iqcId\":200,\"remark\":\"\",\"templateId\":200,\"checkResult\":\"ACCEPT\",\"majQuantity\":2,\"inspectorName\":\"若依\",\"quantityRecived\":3,\"vendorCode\":\"GYS001\",\"itemName\":\"AG02\",\"minQuantity\":1,\"reciveDate\":1661270400000,\"vendorNick\":\"XXX供应商公司\",\"updateBy\":\"\",\"quantityUnqualified\":3,\"iqcCode\":\"11\",\"majRate\":66.67,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"quantityMinCheck\":1,\"updateTime\":1661508235930,\"inspector\":\"admin\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"attr4\":0,\"attr3\":0,\"itemId\":200,\"createBy\":\"\",\"crRate\":0,\"createTime\":1661324652000,\"quantityCheck\":3,\"crQuantity\":0,\"minRate\":33.33,\"iqcName\":\"11\",\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:03:56');
INSERT INTO `sys_oper_log` VALUES (383, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WAREHOUSE_CODE', '127.0.0.1', '内网IP', '{ruleCode=WAREHOUSE_CODE}', NULL, 1, '规则：[WAREHOUSE_CODE]生成的编码为空！', '2022-08-26 18:04:34');
INSERT INTO `sys_oper_log` VALUES (384, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":0,\"params\":{},\"warehouseName\":\"成品仓\",\"warehouseCode\":\"CK001\",\"createTime\":1661508329170,\"warehouseId\":200,\"location\":\"成品仓\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:05:29');
INSERT INTO `sys_oper_log` VALUES (385, '库区设置', 1, 'com.ktg.mes.wm.controller.WmStorageLocationController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/location', '127.0.0.1', '内网IP', '{\"area\":0,\"locationName\":\"成品仓1区\",\"params\":{},\"areaFlag\":\"N\",\"createTime\":1661508380841,\"warehouseId\":200,\"locationId\":200,\"locationCode\":\"KQ001\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:06:20');
INSERT INTO `sys_oper_log` VALUES (386, '物料入库单', 1, 'com.ktg.mes.wm.controller.WmItemRecptController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/itemrecpt', '127.0.0.1', '内网IP', '{\"recptName\":\"RKD0001\",\"recptId\":200,\"vendorId\":200,\"warehouseName\":\"成品仓\",\"warehouseCode\":\"CK001\",\"vendorCode\":\"GYS001\",\"vendorNick\":\"XXX供应商公司\",\"locationId\":200,\"poCode\":\"2022082500001\",\"recptDate\":1661443200000,\"recptCode\":\"RKD0001\",\"locationName\":\"成品仓1区\",\"params\":{},\"vendorName\":\"XXX供应商公司\",\"createTime\":1661508442629,\"warehouseId\":200,\"locationCode\":\"KQ001\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:07:22');
INSERT INTO `sys_oper_log` VALUES (387, '物料入库单行', 1, 'com.ktg.mes.wm.controller.WmItemRecptLineController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/itemrecptline', '127.0.0.1', '内网IP', '{\"itemCode\":\"C00003\",\"recptId\":200,\"warehouseName\":\"成品仓\",\"quantityRecived\":1,\"warehouseCode\":\"CK001\",\"itemName\":\"A020\",\"locationId\":200,\"expireDate\":1661443200000,\"locationName\":\"成品仓1区\",\"unitOfMeasure\":\"KG\",\"batchCode\":\"PC00001\",\"lineId\":200,\"specification\":\"A020\",\"params\":{},\"itemId\":201,\"createTime\":1661508479701,\"warehouseId\":200,\"locationCode\":\"KQ001\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:07:59');
INSERT INTO `sys_oper_log` VALUES (388, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.edit()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt', '127.0.0.1', '内网IP', '{\"recptName\":\"RKD0001\",\"recptId\":200,\"vendorId\":200,\"remark\":\"\",\"warehouseName\":\"成品仓\",\"warehouseCode\":\"CK001\",\"vendorCode\":\"GYS001\",\"vendorNick\":\"XXX供应商公司\",\"updateBy\":\"\",\"locationId\":200,\"poCode\":\"2022082500001\",\"recptDate\":1661443200000,\"recptCode\":\"RKD0001\",\"locationName\":\"成品仓1区\",\"updateTime\":1661508483515,\"params\":{},\"vendorName\":\"XXX供应商公司\",\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661508443000,\"warehouseId\":200,\"locationCode\":\"KQ001\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:08:03');
INSERT INTO `sys_oper_log` VALUES (389, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.edit()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt', '127.0.0.1', '内网IP', '{\"recptName\":\"RKD0001\",\"recptId\":200,\"vendorId\":200,\"remark\":\"\",\"warehouseName\":\"成品仓\",\"warehouseCode\":\"CK001\",\"vendorCode\":\"GYS001\",\"vendorNick\":\"XXX供应商公司\",\"updateBy\":\"\",\"locationId\":200,\"poCode\":\"2022082500001\",\"recptDate\":1661443200000,\"recptCode\":\"RKD0001\",\"locationName\":\"成品仓1区\",\"updateTime\":1661508500244,\"params\":{},\"vendorName\":\"XXX供应商公司\",\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661508443000,\"warehouseId\":200,\"locationCode\":\"KQ001\",\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-26 18:08:20');
INSERT INTO `sys_oper_log` VALUES (390, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.execute()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt/200', '127.0.0.1', '内网IP', '200', NULL, 1, '\n### Error querying database.  Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock\n     \n         WHERE  item_id = ?\n             and unit_of_measure = ?\n             and batch_code = ?\n             and warehouse_id = ?\n             and location_id = ?\n            \n             and vendor_id = ? \n        and 1=1 limit 1\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-mes/target/classes/mapper/wm/WmMaterialStockMapper.xml]\n### The error may involve com.ktg.mes.wm.mapper.WmMaterialStockMapper.loadMaterialStock\n### The error occurred while executing a query\n### SQL: select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock                WHERE  item_id = ?              and unit_of_measure = ?              and batch_code = ?              and warehouse_id = ?              and location_id = ?                           and vendor_id = ?          and 1=1 limit 1\n### Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, ', '2022-08-26 18:08:29');
INSERT INTO `sys_oper_log` VALUES (391, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.execute()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt/200', '127.0.0.1', '内网IP', '200', NULL, 1, '\n### Error querying database.  Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock\n     \n         WHERE  item_id = ?\n             and unit_of_measure = ?\n             and batch_code = ?\n             and warehouse_id = ?\n             and location_id = ?\n            \n             and vendor_id = ? \n        and 1=1 limit 1\n### The error may exist in file [/Users/ryanzl/Desktop/Proj-xinzheng-mes/msq-xzmes/xzmes-plus-api/ktg-mes/target/classes/mapper/wm/WmMaterialStockMapper.xml]\n### The error may involve com.ktg.mes.wm.mapper.WmMaterialStockMapper.loadMaterialStock\n### The error occurred while executing a query\n### SQL: select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock                WHERE  item_id = ?              and unit_of_measure = ?              and batch_code = ?              and warehouse_id = ?              and location_id = ?                           and vendor_id = ?          and 1=1 limit 1\n### Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, ', '2022-08-26 18:08:44');
INSERT INTO `sys_oper_log` VALUES (392, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"cascader\",\"orderNum\":5,\"menuName\":\"工艺管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"tech\",\"children\":[],\"createTime\":1661507811000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2210,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:22:48');
INSERT INTO `sys_oper_log` VALUES (393, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"warehouse\",\"orderNum\":6,\"menuName\":\"车间建模\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"workshop\",\"children\":[],\"createTime\":1661507454000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2209,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:23:31');
INSERT INTO `sys_oper_log` VALUES (394, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"component\",\"orderNum\":7,\"menuName\":\"仓储管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"mes/wm\",\"children\":[],\"createTime\":1651928788000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2042,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:23:50');
INSERT INTO `sys_oper_log` VALUES (395, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"redis\",\"orderNum\":8,\"menuName\":\"设备管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"mes/dv\",\"children\":[],\"createTime\":1652008232000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2059,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:24:06');
INSERT INTO `sys_oper_log` VALUES (396, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"switch\",\"orderNum\":9,\"menuName\":\"生产管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"mes/pro\",\"children\":[],\"createTime\":1652065087000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2072,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:24:17');
INSERT INTO `sys_oper_log` VALUES (397, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"eye\",\"orderNum\":10,\"menuName\":\"质量管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"mes/qc\",\"children\":[],\"createTime\":1652795483000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2124,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:24:25');
INSERT INTO `sys_oper_log` VALUES (398, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"peoples\",\"orderNum\":11,\"menuName\":\"排班管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"cal\",\"children\":[],\"createTime\":1654437154000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2160,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:24:30');
INSERT INTO `sys_oper_log` VALUES (399, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"1\",\"icon\":\"lock\",\"orderNum\":7,\"menuName\":\"工装夹具管理\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"tm\",\"children\":[],\"createTime\":1652198833000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2095,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:24:54');
INSERT INTO `sys_oper_log` VALUES (400, '工艺组成', 2, 'com.ktg.mes.pro.controller.ProRouteProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/routeprocess', '127.0.0.1', '内网IP', '{\"defaultPreTime\":3,\"orderNum\":2,\"remark\":\"\",\"updateTime\":1661592450650,\"nextProcessName\":\"无\",\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":201,\"createBy\":\"\",\"routeId\":200,\"createTime\":1661311966000,\"processId\":201,\"processName\":\"分散工序\",\"updateBy\":\"\",\"processCode\":\"GX002\",\"nextProcessId\":0,\"colorCode\":\"#00AEF3\",\"linkType\":\"FS\",\"defaultSufTime\":4}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:27:30');
INSERT INTO `sys_oper_log` VALUES (401, '工艺路线', 2, 'com.ktg.mes.pro.controller.ProRouteController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"GY001\",\"remark\":\"\",\"updateTime\":1661592463659,\"params\":{},\"routeDesc\":\"120PS粘度的工艺\",\"attr4\":0,\"attr3\":0,\"routeName\":\"120PS工艺\",\"createBy\":\"\",\"routeId\":200,\"createTime\":1661311881000,\"updateBy\":\"\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-27 17:27:43');
INSERT INTO `sys_oper_log` VALUES (402, '工艺组成', 2, 'com.ktg.mes.pro.controller.ProRouteProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/routeprocess', '120.230.64.119', 'XX XX', '{\"defaultPreTime\":3,\"orderNum\":2,\"remark\":\"\",\"updateTime\":1661653664579,\"nextProcessName\":\"无\",\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":201,\"createBy\":\"\",\"routeId\":200,\"createTime\":1661311966000,\"processId\":201,\"processName\":\"分散工序\",\"updateBy\":\"\",\"processCode\":\"GX002\",\"nextProcessId\":0,\"colorCode\":\"#00AEF3\",\"linkType\":\"FS\",\"defaultSufTime\":4}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:27:44');
INSERT INTO `sys_oper_log` VALUES (403, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKORDER_CODE}', NULL, 1, '未获取到指定类型:[WORKORDER_CODE]的业务编码生成规则', '2022-08-28 10:33:47');
INSERT INTO `sys_oper_log` VALUES (404, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '120.230.64.119', 'XX XX', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"WORKORDER_CODE\",\"createBy\":\"admin\",\"ruleName\":\"生产工单编码规则\",\"enableFlag\":\"Y\",\"maxLength\":14}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:34:23');
INSERT INTO `sys_oper_log` VALUES (405, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '120.230.64.119', 'XX XX', '{\"partLength\":2,\"fixCharacter\":\"MO\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":211,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:35:02');
INSERT INTO `sys_oper_log` VALUES (406, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '120.230.64.119', 'XX XX', '{\"partLength\":8,\"dateFormat\":\"yyyyMMdd\",\"partCode\":\"DATEPART\",\"params\":{},\"partIndex\":2,\"partName\":\"年月日部分\",\"createBy\":\"admin\",\"ruleId\":211,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:35:26');
INSERT INTO `sys_oper_log` VALUES (407, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '120.230.64.119', 'XX XX', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"DAY\",\"ruleId\":211,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:36:16');
INSERT INTO `sys_oper_log` VALUES (408, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKORDER_CODE}', '\"MO202208280001\"', 0, NULL, '2022-08-28 10:36:23');
INSERT INTO `sys_oper_log` VALUES (409, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKORDER_CODE}', '\"MO202208280002\"', 0, NULL, '2022-08-28 10:36:51');
INSERT INTO `sys_oper_log` VALUES (410, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKORDER_CODE}', '\"MO202208280003\"', 0, NULL, '2022-08-28 10:37:39');
INSERT INTO `sys_oper_log` VALUES (411, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '120.230.64.119', 'XX XX', '{\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"workorderId\":201,\"children\":[],\"workorderName\":\"AG02生产工单02\",\"requestDate\":1661875200000,\"ancestors\":\"0\",\"orderSource\":\"STORE\",\"quantity\":10,\"productId\":200,\"unitOfMeasure\":\"KG\",\"params\":{},\"parentId\":0,\"productCode\":\"C00002\",\"workorderCode\":\"MO202208280003\",\"createTime\":1661654276930,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":201}', 0, NULL, '2022-08-28 10:37:56');
INSERT INTO `sys_oper_log` VALUES (412, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '120.230.64.119', 'XX XX', '{\"remark\":\"\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"workorderId\":201,\"children\":[],\"updateBy\":\"\",\"workorderName\":\"AG02生产工单02\",\"requestDate\":1661875200000,\"ancestors\":\"0\",\"orderSource\":\"STORE\",\"quantity\":10,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661654304595,\"params\":{},\"attr4\":0,\"parentId\":0,\"attr3\":0,\"createBy\":\"\",\"productCode\":\"C00002\",\"workorderCode\":\"MO202208280003\",\"createTime\":1661654277000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:38:24');
INSERT INTO `sys_oper_log` VALUES (413, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '120.230.64.119', 'XX XX', '{\"remark\":\"\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"workorderId\":201,\"children\":[],\"updateBy\":\"\",\"workorderName\":\"AG02生产工单02\",\"requestDate\":1661875200000,\"ancestors\":\"0\",\"orderSource\":\"STORE\",\"quantity\":10,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661654332701,\"params\":{},\"attr4\":0,\"parentId\":0,\"attr3\":0,\"createBy\":\"\",\"productCode\":\"C00002\",\"workorderCode\":\"MO202208280003\",\"createTime\":1661654277000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:38:52');
INSERT INTO `sys_oper_log` VALUES (414, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKORDER_CODE}', '\"MO202208280004\"', 0, NULL, '2022-08-28 10:39:06');
INSERT INTO `sys_oper_log` VALUES (415, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '120.230.64.119', 'XX XX', '{\"remark\":\"2022-08-29\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"workorderId\":202,\"children\":[],\"workorderName\":\"AG02生产工单02-01\",\"requestDate\":1661702400000,\"ancestors\":\"0,0\",\"orderSource\":\"STORE\",\"quantity\":5,\"productId\":200,\"unitOfMeasure\":\"KG\",\"params\":{},\"parentId\":201,\"productCode\":\"C00002\",\"workorderCode\":\"MO202208280004\",\"createTime\":1661654367226,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":202}', 0, NULL, '2022-08-28 10:39:27');
INSERT INTO `sys_oper_log` VALUES (416, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '120.230.64.119', 'XX XX', '{\"remark\":\"2022-08-29\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"workorderId\":202,\"children\":[],\"workorderName\":\"AG02生产工单02-01\",\"requestDate\":1661702400000,\"orderSource\":\"STORE\",\"quantity\":5,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661654369986,\"params\":{},\"parentId\":201,\"productCode\":\"C00002\",\"workorderCode\":\"MO202208280004\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:39:30');
INSERT INTO `sys_oper_log` VALUES (417, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '120.230.64.119', 'XX XX', '{\"remark\":\"2022-08-29\",\"productSpc\":\"USR-100\",\"productName\":\"AG02\",\"workorderId\":202,\"children\":[],\"updateBy\":\"\",\"workorderName\":\"AG02生产工单02-01\",\"requestDate\":1661702400000,\"ancestors\":\"0,0\",\"orderSource\":\"STORE\",\"quantity\":5,\"productId\":200,\"unitOfMeasure\":\"KG\",\"updateTime\":1661654560511,\"params\":{},\"attr4\":0,\"parentId\":201,\"attr3\":0,\"createBy\":\"\",\"productCode\":\"C00002\",\"workorderCode\":\"MO202208280004\",\"createTime\":1661654367000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:42:40');
INSERT INTO `sys_oper_log` VALUES (418, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKSTATION_CODE}', NULL, 1, '未获取到指定类型:[WORKSTATION_CODE]的业务编码生成规则', '2022-08-28 10:50:01');
INSERT INTO `sys_oper_log` VALUES (419, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '120.230.64.119', 'XX XX', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"WORKSTATION_CODE\",\"createBy\":\"admin\",\"ruleName\":\"工作站编码规则\",\"enableFlag\":\"Y\",\"maxLength\":6}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:50:35');
INSERT INTO `sys_oper_log` VALUES (420, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '120.230.64.119', 'XX XX', '{\"partLength\":2,\"fixCharacter\":\"WS\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":212,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:51:08');
INSERT INTO `sys_oper_log` VALUES (421, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '120.230.64.119', 'XX XX', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":212,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:51:36');
INSERT INTO `sys_oper_log` VALUES (422, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKSTATION_CODE}', '\"WS0001\"', 0, NULL, '2022-08-28 10:51:40');
INSERT INTO `sys_oper_log` VALUES (423, '工作站', 1, 'com.ktg.mes.md.controller.MdWorkstationController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstation', '120.230.64.119', 'XX XX', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站02\",\"params\":{},\"workstationCode\":\"WS0001\",\"createTime\":1661655118320,\"processId\":200,\"processName\":\"配料工序\",\"processCode\":\"GX001\",\"workstationId\":202,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料站02\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:51:58');
INSERT INTO `sys_oper_log` VALUES (424, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKSTATION_CODE}', '\"WS0002\"', 0, NULL, '2022-08-28 10:52:10');
INSERT INTO `sys_oper_log` VALUES (425, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '120.230.64.119', 'XX XX', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站\",\"remark\":\"\",\"updateTime\":1661655134236,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS0002\",\"createTime\":1661312108000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":200,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料车间01室\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:52:14');
INSERT INTO `sys_oper_log` VALUES (426, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '120.230.64.119', 'XX XX', '{ruleCode=WORKSTATION_CODE}', '\"WS0003\"', 0, NULL, '2022-08-28 10:52:30');
INSERT INTO `sys_oper_log` VALUES (427, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '120.230.64.119', 'XX XX', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站\",\"remark\":\"\",\"updateTime\":1661655164720,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS001\",\"createTime\":1661312108000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":200,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料车间01室\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:52:44');
INSERT INTO `sys_oper_log` VALUES (428, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', 'TASK_CODE', '\"TASK20220003\"', 0, NULL, '2022-08-28 10:54:21');
INSERT INTO `sys_oper_log` VALUES (429, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS0001\",\"workorderId\":201,\"taskCode\":\"TASK20220003\",\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单02\",\"workstationId\":202,\"startTime\":1661616000000,\"quantity\":5,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站02\",\"params\":{},\"itemId\":200,\"workorderCode\":\"MO202208280003\",\"createTime\":1661655261083,\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【5】KG\",\"endTime\":1661644800000}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n### The error may exist in URL [jar:file:/vc_data/xinzheng_v1/api/xzmes-serve.jar!/BOOT-INF/lib/ktg-mes-3.8.2.jar!/mapper/pro/ProTaskMapper.xml]\n### The error may involve com.ktg.mes.pro.mapper.ProTaskMapper.insertProTask-Inline\n### The error occurred while setting parameters\n### SQL: insert into pro_task          ( task_code,             task_name,             workorder_id,             workorder_code,             workorder_name,             workstation_id,             workstation_code,             workstation_name,             process_id,             process_code,             process_name,             item_id,             item_code,             item_name,             specification,             unit_of_measure,             quantity,                                                                                                                     start_time,             duration,             end_time,             color_code,                                                                                                                     create_time )           values ( ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,                                                                                                                     ?,             ?,             ?,             ?,                                                                                                                     ? )\n### Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n; Field \'client_id\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'client_id\' doesn\'t have a default value', '2022-08-28 10:54:21');
INSERT INTO `sys_oper_log` VALUES (430, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', 'TASK_CODE', '\"TASK20220004\"', 0, NULL, '2022-08-28 10:54:44');
INSERT INTO `sys_oper_log` VALUES (431, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS0001\",\"workorderId\":201,\"taskCode\":\"TASK20220004\",\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单02\",\"workstationId\":202,\"startTime\":1661616000000,\"quantity\":5,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站02\",\"params\":{},\"itemId\":200,\"workorderCode\":\"MO202208280003\",\"createTime\":1661655284427,\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【5】KG\",\"endTime\":1661644800000}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n### The error may exist in URL [jar:file:/vc_data/xinzheng_v1/api/xzmes-serve.jar!/BOOT-INF/lib/ktg-mes-3.8.2.jar!/mapper/pro/ProTaskMapper.xml]\n### The error may involve com.ktg.mes.pro.mapper.ProTaskMapper.insertProTask-Inline\n### The error occurred while setting parameters\n### SQL: insert into pro_task          ( task_code,             task_name,             workorder_id,             workorder_code,             workorder_name,             workstation_id,             workstation_code,             workstation_name,             process_id,             process_code,             process_name,             item_id,             item_code,             item_name,             specification,             unit_of_measure,             quantity,                                                                                                                     start_time,             duration,             end_time,             color_code,                                                                                                                     create_time )           values ( ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,                                                                                                                     ?,             ?,             ?,             ?,                                                                                                                     ? )\n### Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n; Field \'client_id\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'client_id\' doesn\'t have a default value', '2022-08-28 10:54:44');
INSERT INTO `sys_oper_log` VALUES (432, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', 'TASK_CODE', '\"TASK20220005\"', 0, NULL, '2022-08-28 10:55:14');
INSERT INTO `sys_oper_log` VALUES (433, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS001\",\"workorderId\":201,\"taskCode\":\"TASK20220005\",\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单02\",\"workstationId\":200,\"startTime\":1661616000000,\"quantity\":5,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站\",\"params\":{},\"itemId\":200,\"workorderCode\":\"MO202208280003\",\"createTime\":1661655314452,\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【5】KG\",\"endTime\":1661644800000}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n### The error may exist in URL [jar:file:/vc_data/xinzheng_v1/api/xzmes-serve.jar!/BOOT-INF/lib/ktg-mes-3.8.2.jar!/mapper/pro/ProTaskMapper.xml]\n### The error may involve com.ktg.mes.pro.mapper.ProTaskMapper.insertProTask-Inline\n### The error occurred while setting parameters\n### SQL: insert into pro_task          ( task_code,             task_name,             workorder_id,             workorder_code,             workorder_name,             workstation_id,             workstation_code,             workstation_name,             process_id,             process_code,             process_name,             item_id,             item_code,             item_name,             specification,             unit_of_measure,             quantity,                                                                                                                     start_time,             duration,             end_time,             color_code,                                                                                                                     create_time )           values ( ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,                                                                                                                     ?,             ?,             ?,             ?,                                                                                                                     ? )\n### Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n; Field \'client_id\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'client_id\' doesn\'t have a default value', '2022-08-28 10:55:14');
INSERT INTO `sys_oper_log` VALUES (434, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"clientName\":\"1234\",\"itemCode\":\"C00002\",\"remark\":\"\",\"quantityChanged\":0,\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS001\",\"workorderId\":200,\"taskCode\":\"TASK20220001\",\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"workorderName\":\"AG02生产工单01\",\"workstationId\":200,\"startTime\":1661306400000,\"quantityProduced\":1,\"clientId\":200,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"quantityQuanlify\":1,\"specification\":\"USR-100\",\"workstationName\":\"配料站\",\"updateTime\":1661655338477,\"params\":{},\"attr4\":0,\"attr3\":0,\"itemId\":200,\"createBy\":\"\",\"quantityUnquanlify\":0,\"workorderCode\":\"GD0001\",\"createTime\":1661315397000,\"clientCode\":\"1234\",\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【1】KG\",\"endTime\":1661335200000,\"taskId\":200,\"status\":\"FINISHED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:55:38');
INSERT INTO `sys_oper_log` VALUES (435, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', 'TASK_CODE', '\"TASK20220006\"', 0, NULL, '2022-08-28 10:56:46');
INSERT INTO `sys_oper_log` VALUES (436, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS0001\",\"workorderId\":201,\"taskCode\":\"TASK20220006\",\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单02\",\"workstationId\":202,\"startTime\":1661616000000,\"quantity\":5,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站02\",\"params\":{},\"itemId\":200,\"workorderCode\":\"MO202208280003\",\"createTime\":1661655406662,\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【5】KG\",\"endTime\":1661644800000}', NULL, 1, '\n### Error updating database.  Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n### The error may exist in URL [jar:file:/vc_data/xinzheng_v1/api/xzmes-serve.jar!/BOOT-INF/lib/ktg-mes-3.8.2.jar!/mapper/pro/ProTaskMapper.xml]\n### The error may involve com.ktg.mes.pro.mapper.ProTaskMapper.insertProTask-Inline\n### The error occurred while setting parameters\n### SQL: insert into pro_task          ( task_code,             task_name,             workorder_id,             workorder_code,             workorder_name,             workstation_id,             workstation_code,             workstation_name,             process_id,             process_code,             process_name,             item_id,             item_code,             item_name,             specification,             unit_of_measure,             quantity,                                                                                                                     start_time,             duration,             end_time,             color_code,                                                                                                                     create_time )           values ( ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,             ?,                                                                                                                     ?,             ?,             ?,             ?,                                                                                                                     ? )\n### Cause: java.sql.SQLException: Field \'client_id\' doesn\'t have a default value\n; Field \'client_id\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'client_id\' doesn\'t have a default value', '2022-08-28 10:56:46');
INSERT INTO `sys_oper_log` VALUES (437, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', 'TASK_CODE', '\"TASK20220007\"', 0, NULL, '2022-08-28 10:57:37');
INSERT INTO `sys_oper_log` VALUES (438, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS0001\",\"workorderId\":201,\"taskCode\":\"TASK20220007\",\"processId\":200,\"processName\":\"配料工序\",\"workorderName\":\"AG02生产工单02\",\"workstationId\":202,\"startTime\":1661616000000,\"quantity\":5,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"配料站02\",\"params\":{},\"itemId\":200,\"workorderCode\":\"MO202208280003\",\"createTime\":1661655457465,\"processCode\":\"GX001\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【5】KG\",\"endTime\":1661644800000,\"taskId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:57:37');
INSERT INTO `sys_oper_log` VALUES (439, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', 'TASK_CODE', '\"TASK20220008\"', 0, NULL, '2022-08-28 10:59:30');
INSERT INTO `sys_oper_log` VALUES (440, '生产任务', 1, 'com.ktg.mes.pro.controller.ProTaskController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/protask', '120.230.64.119', 'XX XX', '{\"itemCode\":\"C00002\",\"duration\":1,\"itemName\":\"AG02\",\"workstationCode\":\"WS002\",\"workorderId\":201,\"taskCode\":\"TASK20220008\",\"processId\":201,\"processName\":\"分散工序\",\"workorderName\":\"AG02生产工单02\",\"workstationId\":201,\"startTime\":1661616000000,\"quantity\":1,\"unitOfMeasure\":\"KG\",\"specification\":\"USR-100\",\"workstationName\":\"分散工作站\",\"params\":{},\"itemId\":200,\"workorderCode\":\"MO202208280003\",\"createTime\":1661655570899,\"processCode\":\"GX002\",\"colorCode\":\"#00AEF3\",\"taskName\":\"AG02【1】KG\",\"endTime\":1661644800000,\"taskId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-28 10:59:30');
INSERT INTO `sys_oper_log` VALUES (441, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', NULL, 1, '未获取到指定类型:[CAL_PLAN_CODE]的业务编码生成规则', '2022-08-29 10:28:28');
INSERT INTO `sys_oper_log` VALUES (442, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '14.157.173.47', 'XX XX', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"CAL_PLAN_CODE\",\"createBy\":\"admin\",\"ruleName\":\"排班计划编号\",\"enableFlag\":\"Y\",\"maxLength\":11}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:29:10');
INSERT INTO `sys_oper_log` VALUES (443, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '14.157.173.47', 'XX XX', '{\"partLength\":4,\"fixCharacter\":\"PLAN\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":213,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:29:36');
INSERT INTO `sys_oper_log` VALUES (444, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '14.157.173.47', 'XX XX', '{\"partLength\":4,\"dateFormat\":\"yyyy\",\"partCode\":\"YEAR\",\"params\":{},\"partIndex\":2,\"partName\":\"年\",\"createBy\":\"admin\",\"ruleId\":213,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:29:58');
INSERT INTO `sys_oper_log` VALUES (445, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '14.157.173.47', 'XX XX', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"YEAR\",\"ruleId\":213,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:30:28');
INSERT INTO `sys_oper_log` VALUES (446, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022001\"', 0, NULL, '2022-08-29 10:30:38');
INSERT INTO `sys_oper_log` VALUES (447, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"PL\",\"shiftType\":\"SINGLE\",\"endDate\":1661875200000,\"planName\":\"白班\",\"params\":{},\"planCode\":\"PLAN2022001\",\"createTime\":1661740260585,\"shiftCount\":1,\"planId\":200,\"shiftMethod\":\"MONTH\",\"startDate\":1661702400000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:31:00');
INSERT INTO `sys_oper_log` VALUES (448, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_TEAM_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_TEAM_CODE}', NULL, 1, '未获取到指定类型:[CAL_TEAM_CODE]的业务编码生成规则', '2022-08-29 10:32:08');
INSERT INTO `sys_oper_log` VALUES (449, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '14.157.173.47', 'XX XX', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"CAL_TEAM_CODE\",\"createBy\":\"admin\",\"ruleName\":\"班组编码规则\",\"enableFlag\":\"Y\",\"maxLength\":4}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:33:19');
INSERT INTO `sys_oper_log` VALUES (450, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '14.157.173.47', 'XX XX', '{\"partLength\":1,\"fixCharacter\":\"T\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"固定前缀\",\"createBy\":\"admin\",\"ruleId\":214,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:34:09');
INSERT INTO `sys_oper_log` VALUES (451, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '14.157.173.47', 'XX XX', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":214,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:34:34');
INSERT INTO `sys_oper_log` VALUES (452, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_TEAM_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_TEAM_CODE}', '\"T001\"', 0, NULL, '2022-08-29 10:35:03');
INSERT INTO `sys_oper_log` VALUES (453, '班组', 1, 'com.ktg.mes.cal.controller.CalTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/team', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组01\",\"calendarType\":\"PL\",\"teamCode\":\"T001\",\"params\":{},\"createTime\":1661740515639,\"teamId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:35:15');
INSERT INTO `sys_oper_log` VALUES (454, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"鑫正\",\"leader\":\"若依\",\"deptId\":100,\"orderNum\":\"0\",\"delFlag\":\"0\",\"params\":{},\"parentId\":0,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:38:01');
INSERT INTO `sys_oper_log` VALUES (455, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"xxx分公司\",\"leader\":\"若依\",\"deptId\":101,\"orderNum\":\"1\",\"delFlag\":\"0\",\"params\":{},\"parentId\":100,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0,100\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:39:00');
INSERT INTO `sys_oper_log` VALUES (456, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"xxx分公司02\",\"leader\":\"鑫正\",\"deptId\":102,\"orderNum\":\"2\",\"delFlag\":\"0\",\"params\":{},\"parentId\":100,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0,100\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:39:23');
INSERT INTO `sys_oper_log` VALUES (457, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"xxx分公司\",\"leader\":\"鑫正\",\"deptId\":101,\"orderNum\":\"1\",\"delFlag\":\"0\",\"params\":{},\"parentId\":100,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0,100\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:39:28');
INSERT INTO `sys_oper_log` VALUES (458, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"业务部门\",\"leader\":\"鑫正\",\"deptId\":104,\"orderNum\":\"2\",\"delFlag\":\"0\",\"params\":{},\"parentId\":101,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0,100,101\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:40:35');
INSERT INTO `sys_oper_log` VALUES (459, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"厂部\",\"leader\":\"若依\",\"deptId\":105,\"orderNum\":\"3\",\"delFlag\":\"0\",\"params\":{},\"parentId\":101,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0,100,101\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:40:57');
INSERT INTO `sys_oper_log` VALUES (460, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"行政部\",\"leader\":\"鑫正\",\"deptId\":107,\"orderNum\":\"5\",\"delFlag\":\"0\",\"params\":{},\"parentId\":101,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800013800\",\"updateBy\":\"admin\",\"ancestors\":\"0,100,101\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:41:19');
INSERT INTO `sys_oper_log` VALUES (461, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"业务部门\",\"leader\":\"鑫正\",\"deptId\":108,\"orderNum\":\"1\",\"delFlag\":\"0\",\"params\":{},\"parentId\":102,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800138000\",\"updateBy\":\"admin\",\"ancestors\":\"0,100,102\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:41:36');
INSERT INTO `sys_oper_log` VALUES (462, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'admin', NULL, '/system/dept', '14.157.173.47', 'XX XX', '{\"deptName\":\"财务部门\",\"leader\":\"鑫正\",\"deptId\":109,\"orderNum\":\"2\",\"delFlag\":\"0\",\"params\":{},\"parentId\":102,\"createBy\":\"admin\",\"children\":[],\"createTime\":1661280997000,\"phone\":\"13800013800\",\"updateBy\":\"admin\",\"ancestors\":\"0,100,102\",\"email\":\"xz@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:41:50');
INSERT INTO `sys_oper_log` VALUES (463, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', NULL, '/system/user', '14.157.173.47', 'XX XX', '{\"roles\":[{\"flag\":false,\"roleId\":2,\"admin\":false,\"dataScope\":\"2\",\"params\":{},\"roleSort\":\"2\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"status\":\"0\"}],\"phonenumber\":\"15666666666\",\"admin\":false,\"loginDate\":1661280998000,\"remark\":\"\",\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"admin\",\"postIds\":[2],\"loginIp\":\"127.0.0.1\",\"email\":\"xz@qq.com\",\"nickName\":\"鑫正\",\"sex\":\"0\",\"deptId\":105,\"avatar\":\"\",\"dept\":{\"deptName\":\"厂部\",\"leader\":\"若依\",\"deptId\":105,\"orderNum\":\"3\",\"params\":{},\"parentId\":101,\"children\":[],\"status\":\"0\"},\"params\":{},\"userName\":\"ry\",\"userId\":2,\"createBy\":\"admin\",\"roleIds\":[2],\"createTime\":1661280998000,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 10:43:50');
INSERT INTO `sys_oper_log` VALUES (464, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组01\",\"teamCode\":\"T001\",\"params\":{},\"recordId\":200,\"createTime\":1661745633461,\"teamId\":200,\"planId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:00:33');
INSERT INTO `sys_oper_log` VALUES (465, '班组成员', 1, 'com.ktg.mes.cal.controller.CalTeamMemberController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/teammember', '14.157.173.47', 'XX XX', '{\"nickName\":\"鑫正\",\"params\":{},\"userName\":\"ry\",\"userId\":2,\"createTime\":1661745650268,\"teamId\":200,\"tel\":\"15666666666\",\"memberId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:00:50');
INSERT INTO `sys_oper_log` VALUES (466, '班组成员', 1, 'com.ktg.mes.cal.controller.CalTeamMemberController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/teammember', '14.157.173.47', 'XX XX', '{\"nickName\":\"若依\",\"params\":{},\"userName\":\"admin\",\"userId\":1,\"createTime\":1661745650266,\"teamId\":200,\"tel\":\"15888888888\",\"memberId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:00:50');
INSERT INTO `sys_oper_log` VALUES (467, '节假日设置', 1, 'com.ktg.mes.cal.controller.CalHolidayController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calholiday', '14.157.173.47', 'XX XX', '{\"params\":{},\"theDay\":1661702400000,\"holidayType\":\"HOLIDAY\",\"createTime\":1661745931757,\"startTime\":1661702728327,\"endTime\":1661785528327,\"holidayId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:05:31');
INSERT INTO `sys_oper_log` VALUES (468, '节假日设置', 1, 'com.ktg.mes.cal.controller.CalHolidayController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calholiday', '14.157.173.47', 'XX XX', '{\"updateTime\":1661745939239,\"params\":{},\"theDay\":1661702400000,\"holidayType\":\"WORKDAY\",\"startTime\":1661702736996,\"endTime\":1661785536996,\"holidayId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:05:39');
INSERT INTO `sys_oper_log` VALUES (469, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"PL\",\"shiftType\":\"SINGLE\",\"endDate\":1661875200000,\"planName\":\"白班\",\"remark\":\"\",\"updateTime\":1661745975216,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022001\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661740261000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":200,\"shiftMethod\":\"MONTH\",\"startDate\":1661702400000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:06:15');
INSERT INTO `sys_oper_log` VALUES (470, '节假日设置', 1, 'com.ktg.mes.cal.controller.CalHolidayController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calholiday', '14.157.173.47', 'XX XX', '{\"params\":{},\"theDay\":1662739200000,\"holidayType\":\"HOLIDAY\",\"createTime\":1661746065038,\"startTime\":1661702863177,\"endTime\":1661785663177,\"holidayId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:07:45');
INSERT INTO `sys_oper_log` VALUES (471, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_TEAM_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_TEAM_CODE}', '\"T002\"', 0, NULL, '2022-08-29 12:09:27');
INSERT INTO `sys_oper_log` VALUES (472, '班组', 1, 'com.ktg.mes.cal.controller.CalTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/team', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组02\",\"calendarType\":\"SC\",\"teamCode\":\"T002\",\"params\":{},\"createTime\":1661746177953,\"teamId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:09:37');
INSERT INTO `sys_oper_log` VALUES (473, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022002\"', 0, NULL, '2022-08-29 12:09:45');
INSERT INTO `sys_oper_log` VALUES (474, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022003\"', 0, NULL, '2022-08-29 12:09:55');
INSERT INTO `sys_oper_log` VALUES (475, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"SC\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"两班倒\",\"params\":{},\"planCode\":\"PLAN2022003\",\"createTime\":1661746211105,\"shiftCount\":1,\"planId\":201,\"shiftMethod\":\"MONTH\",\"startDate\":1661702400000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:10:11');
INSERT INTO `sys_oper_log` VALUES (476, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组02\",\"teamCode\":\"T002\",\"params\":{},\"recordId\":201,\"createTime\":1661746249346,\"teamId\":201,\"planId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:10:49');
INSERT INTO `sys_oper_log` VALUES (477, '班组成员', 1, 'com.ktg.mes.cal.controller.CalTeamMemberController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/teammember', '14.157.173.47', 'XX XX', '{\"nickName\":\"若依\",\"params\":{},\"userName\":\"admin\",\"userId\":1,\"teamId\":201,\"tel\":\"15888888888\"}', '{\"msg\":\"用户若依已分配过班组！\",\"code\":500}', 0, NULL, '2022-08-29 12:11:01');
INSERT INTO `sys_oper_log` VALUES (478, '班组成员', 1, 'com.ktg.mes.cal.controller.CalTeamMemberController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/teammember', '14.157.173.47', 'XX XX', '{\"nickName\":\"鑫正\",\"params\":{},\"userName\":\"ry\",\"userId\":2,\"teamId\":201,\"tel\":\"15666666666\"}', '{\"msg\":\"用户鑫正已分配过班组！\",\"code\":500}', 0, NULL, '2022-08-29 12:11:01');
INSERT INTO `sys_oper_log` VALUES (479, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'admin', NULL, '/system/user', '14.157.173.47', 'XX XX', '{\"phonenumber\":\"\",\"admin\":false,\"password\":\"123456\",\"postIds\":[4],\"email\":\"xz@qq.com\",\"nickName\":\"生产员01\",\"sex\":\"0\",\"deptId\":105,\"params\":{},\"userName\":\"PD001\",\"roleIds\":[2],\"status\":\"0\"}', '{\"msg\":\"新增用户\'PD001\'失败，邮箱账号已存在\",\"code\":500}', 0, NULL, '2022-08-29 12:12:00');
INSERT INTO `sys_oper_log` VALUES (480, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'admin', NULL, '/system/user', '14.157.173.47', 'XX XX', '{\"phonenumber\":\"\",\"admin\":false,\"password\":\"$2a$10$xlgdSUJCM58Iwc16Q2V0sOGWemsVix1J1yT5igaoiRsdaUqKayX2S\",\"postIds\":[4],\"email\":\"xz-pd001@qq.com\",\"nickName\":\"生产员01\",\"sex\":\"0\",\"deptId\":105,\"params\":{},\"userName\":\"PD001\",\"userId\":100,\"createBy\":\"admin\",\"roleIds\":[2],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:12:15');
INSERT INTO `sys_oper_log` VALUES (481, '班组成员', 1, 'com.ktg.mes.cal.controller.CalTeamMemberController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/teammember', '14.157.173.47', 'XX XX', '{\"nickName\":\"生产员01\",\"params\":{},\"userName\":\"PD001\",\"userId\":100,\"createTime\":1661746349008,\"teamId\":201,\"tel\":\"\",\"memberId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:12:29');
INSERT INTO `sys_oper_log` VALUES (482, '班组', 2, 'com.ktg.mes.cal.controller.CalTeamController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/team', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组02\",\"calendarType\":\"SC\",\"teamCode\":\"T002\",\"remark\":\"\",\"updateTime\":1661746351551,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661746178000,\"updateBy\":\"\",\"teamId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:12:31');
INSERT INTO `sys_oper_log` VALUES (483, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"SC\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"两班倒\",\"remark\":\"\",\"updateTime\":1661746364484,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022003\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661746211000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":201,\"shiftMethod\":\"MONTH\",\"startDate\":1661702400000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:12:44');
INSERT INTO `sys_oper_log` VALUES (484, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"SC\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"两班倒\",\"remark\":\"\",\"updateTime\":1661746372920,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022003\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661746211000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":201,\"shiftMethod\":\"MONTH\",\"startDate\":1661702400000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:12:52');
INSERT INTO `sys_oper_log` VALUES (485, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022004\"', 0, NULL, '2022-08-29 12:17:40');
INSERT INTO `sys_oper_log` VALUES (486, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"PG\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1661875200000,\"planName\":\"PLAN2022004\",\"params\":{},\"planCode\":\"PLAN2022004\",\"createTime\":1661746676563,\"shiftCount\":1,\"planId\":202,\"shiftMethod\":\"WEEK\",\"startDate\":1659283200000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:17:56');
INSERT INTO `sys_oper_log` VALUES (487, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'admin', NULL, '/system/user', '14.157.173.47', 'XX XX', '{\"admin\":false,\"password\":\"$2a$10$ZWTt2J33Lzf7JU5m2gswxuj1o2bUCKZz5qokBkZloMYybgJSEUccW\",\"postIds\":[4],\"email\":\"xz-pd002@qq.com\",\"nickName\":\"生产员02\",\"sex\":\"0\",\"deptId\":105,\"params\":{},\"userName\":\"PD002\",\"userId\":101,\"createBy\":\"admin\",\"roleIds\":[2],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:18:54');
INSERT INTO `sys_oper_log` VALUES (488, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_TEAM_CODE', '14.157.173.47', 'XX XX', '{ruleCode=CAL_TEAM_CODE}', '\"T003\"', 0, NULL, '2022-08-29 12:19:04');
INSERT INTO `sys_oper_log` VALUES (489, '班组', 1, 'com.ktg.mes.cal.controller.CalTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/team', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组03\",\"calendarType\":\"PG\",\"teamCode\":\"T003\",\"params\":{},\"createTime\":1661746751868,\"teamId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:19:11');
INSERT INTO `sys_oper_log` VALUES (490, '班组成员', 1, 'com.ktg.mes.cal.controller.CalTeamMemberController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/teammember', '14.157.173.47', 'XX XX', '{\"nickName\":\"生产员02\",\"params\":{},\"userName\":\"PD002\",\"userId\":101,\"createTime\":1661746758150,\"teamId\":202,\"tel\":\"\",\"memberId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:19:18');
INSERT INTO `sys_oper_log` VALUES (491, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '14.157.173.47', 'XX XX', '{\"teamName\":\"班组03\",\"teamCode\":\"T003\",\"params\":{},\"recordId\":202,\"createTime\":1661746878029,\"teamId\":202,\"planId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:21:18');
INSERT INTO `sys_oper_log` VALUES (492, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"PG\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1661875200000,\"planName\":\"PLAN2022004\",\"remark\":\"\",\"updateTime\":1661746881854,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022004\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661746677000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":202,\"shiftMethod\":\"WEEK\",\"startDate\":1659283200000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:21:21');
INSERT INTO `sys_oper_log` VALUES (493, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.47', 'XX XX', '{\"calendarType\":\"PG\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1661875200000,\"planName\":\"PLAN2022004\",\"remark\":\"\",\"updateTime\":1661746886483,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022004\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661746677000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":202,\"shiftMethod\":\"WEEK\",\"startDate\":1659283200000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 12:21:26');
INSERT INTO `sys_oper_log` VALUES (494, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.61', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022005\"', 0, NULL, '2022-08-29 13:01:15');
INSERT INTO `sys_oper_log` VALUES (495, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.61', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022006\"', 0, NULL, '2022-08-29 13:01:34');
INSERT INTO `sys_oper_log` VALUES (496, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.61', 'XX XX', '{\"calendarType\":\"CK\",\"shiftType\":\"SINGLE\",\"endDate\":1664467200000,\"planName\":\"PLAN2022006\",\"params\":{},\"planCode\":\"PLAN2022006\",\"createTime\":1661749320218,\"shiftCount\":1,\"planId\":203,\"shiftMethod\":\"DAY\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:02:00');
INSERT INTO `sys_oper_log` VALUES (497, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '14.157.173.61', 'XX XX', '{\"teamName\":\"班组01\",\"teamCode\":\"T001\",\"params\":{},\"recordId\":203,\"createTime\":1661749346102,\"teamId\":200,\"planId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:02:26');
INSERT INTO `sys_oper_log` VALUES (498, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.61', 'XX XX', '{\"calendarType\":\"CK\",\"shiftType\":\"SINGLE\",\"endDate\":1664467200000,\"planName\":\"PLAN2022006\",\"remark\":\"\",\"updateTime\":1661749352936,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022006\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661749320000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":203,\"shiftMethod\":\"DAY\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:02:32');
INSERT INTO `sys_oper_log` VALUES (499, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.61', 'XX XX', '{\"calendarType\":\"CK\",\"shiftType\":\"SINGLE\",\"endDate\":1664467200000,\"planName\":\"PLAN2022006\",\"remark\":\"\",\"updateTime\":1661749359673,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022006\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661749320000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":203,\"shiftMethod\":\"DAY\",\"startDate\":1661961600000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:02:39');
INSERT INTO `sys_oper_log` VALUES (500, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '14.157.173.61', 'XX XX', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022007\"', 0, NULL, '2022-08-29 13:03:53');
INSERT INTO `sys_oper_log` VALUES (501, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.61', 'XX XX', '{\"calendarType\":\"PL\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1664467200000,\"planName\":\"PLAN2022007\",\"params\":{},\"planCode\":\"PLAN2022007\",\"createTime\":1661749479432,\"shiftCount\":1,\"planId\":204,\"shiftMethod\":\"WEEK\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:04:39');
INSERT INTO `sys_oper_log` VALUES (502, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '14.157.173.61', 'XX XX', '{\"teamName\":\"班组03\",\"teamCode\":\"T003\",\"params\":{},\"recordId\":204,\"createTime\":1661749491781,\"teamId\":202,\"planId\":204}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:04:51');
INSERT INTO `sys_oper_log` VALUES (503, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '14.157.173.61', 'XX XX', '{\"teamName\":\"班组02\",\"teamCode\":\"T002\",\"params\":{},\"recordId\":205,\"createTime\":1661749491786,\"teamId\":201,\"planId\":204}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:04:51');
INSERT INTO `sys_oper_log` VALUES (504, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '14.157.173.61', 'XX XX', '{\"calendarType\":\"PL\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1664467200000,\"planName\":\"PLAN2022007\",\"remark\":\"\",\"updateTime\":1661749509596,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022007\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661749479000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":204,\"shiftMethod\":\"WEEK\",\"startDate\":1661961600000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 13:05:09');
INSERT INTO `sys_oper_log` VALUES (505, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '14.157.173.61', 'XX XX', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":1,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 16:13:44');
INSERT INTO `sys_oper_log` VALUES (506, '生产任务', 2, 'com.ktg.mes.pro.controller.ProTaskController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/protask', '14.157.173.61', 'XX XX', '{\"duration\":1,\"startTime\":1661306400000,\"updateTime\":1661761859625,\"params\":{},\"endTime\":1661335200000,\"taskId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-29 16:30:59');
INSERT INTO `sys_oper_log` VALUES (507, '岗位管理', 5, 'com.ktg.web.controller.system.SysPostController.export()', 'POST', 1, 'admin', NULL, '/system/post/export', '14.157.173.61', 'XX XX', '{\"flag\":false,\"params\":{}}', NULL, 0, NULL, '2022-08-29 17:04:28');
INSERT INTO `sys_oper_log` VALUES (508, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.edit()', 'PUT', 1, 'admin', NULL, '/monitor/job', '127.0.0.1', '内网IP', '{\"jobName\":\"同步计量单位\",\"concurrent\":\"1\",\"remark\":\"\",\"jobGroup\":\"DEFAULT\",\"params\":{},\"cronExpression\":\"* * 0/1 * * ?\",\"jobId\":2,\"createBy\":\"admin\",\"nextValidTime\":1661829831000,\"createTime\":1661280998000,\"updateBy\":\"admin\",\"invokeTarget\":\"unitMeasureDataTask.execute()\",\"misfirePolicy\":\"3\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:23:50');
INSERT INTO `sys_oper_log` VALUES (509, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:24:06');
INSERT INTO `sys_oper_log` VALUES (510, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:25:14');
INSERT INTO `sys_oper_log` VALUES (511, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:40:53');
INSERT INTO `sys_oper_log` VALUES (512, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:43:05');
INSERT INTO `sys_oper_log` VALUES (513, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:47:57');
INSERT INTO `sys_oper_log` VALUES (514, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:50:13');
INSERT INTO `sys_oper_log` VALUES (515, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:50:33');
INSERT INTO `sys_oper_log` VALUES (516, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:52:58');
INSERT INTO `sys_oper_log` VALUES (517, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:56:52');
INSERT INTO `sys_oper_log` VALUES (518, '单位', 3, 'com.ktg.mes.md.controller.MdUnitMeasureController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/unitmeasure/201', '127.0.0.1', '内网IP', '{measureIds=201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:58:25');
INSERT INTO `sys_oper_log` VALUES (519, '单位', 3, 'com.ktg.mes.md.controller.MdUnitMeasureController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/unitmeasure/200', '127.0.0.1', '内网IP', '{measureIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 11:58:28');
INSERT INTO `sys_oper_log` VALUES (520, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 12:05:40');
INSERT INTO `sys_oper_log` VALUES (521, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 12:06:16');
INSERT INTO `sys_oper_log` VALUES (522, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 12:08:08');
INSERT INTO `sys_oper_log` VALUES (523, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 12:13:37');
INSERT INTO `sys_oper_log` VALUES (524, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 12:14:21');
INSERT INTO `sys_oper_log` VALUES (525, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 12:14:30');
INSERT INTO `sys_oper_log` VALUES (526, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '14.157.173.61', 'XX XX', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 14:54:37');
INSERT INTO `sys_oper_log` VALUES (527, '调度日志', 9, 'com.ktg.quartz.controller.SysJobLogController.clean()', 'DELETE', 1, 'admin', NULL, '/monitor/jobLog/clean', '14.157.173.61', 'XX XX', '{}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 14:54:47');
INSERT INTO `sys_oper_log` VALUES (528, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '14.157.173.61', 'XX XX', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 14:54:50');
INSERT INTO `sys_oper_log` VALUES (529, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:01:13');
INSERT INTO `sys_oper_log` VALUES (530, '角色管理', 1, 'com.ktg.web.controller.system.SysRoleController.add()', 'POST', 1, 'admin', NULL, '/system/role', '127.0.0.1', '内网IP', '{\"flag\":false,\"roleId\":100,\"admin\":false,\"params\":{},\"roleSort\":\"0\",\"deptCheckStrictly\":true,\"createBy\":\"admin\",\"menuCheckStrictly\":true,\"roleKey\":\"mes管理员\",\"roleName\":\"mes管理员\",\"deptIds\":[],\"menuIds\":[],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:09:21');
INSERT INTO `sys_oper_log` VALUES (531, '定时任务', 2, 'com.ktg.quartz.controller.SysJobController.run()', 'PUT', 1, 'admin', NULL, '/monitor/job/run', '127.0.0.1', '内网IP', '{\"jobGroup\":\"DEFAULT\",\"params\":{},\"jobId\":2,\"misfirePolicy\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:09:42');
INSERT INTO `sys_oper_log` VALUES (532, '角色管理', 2, 'com.ktg.web.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', NULL, '/system/role', '127.0.0.1', '内网IP', '{\"flag\":false,\"roleId\":100,\"admin\":false,\"dataScope\":\"1\",\"delFlag\":\"0\",\"params\":{},\"roleSort\":\"0\",\"deptCheckStrictly\":true,\"createTime\":1661843361000,\"updateBy\":\"admin\",\"menuCheckStrictly\":true,\"roleKey\":\"mes管理员\",\"roleName\":\"mes管理员\",\"menuIds\":[1,3,100,1001,1002,1003,1004,1005,1006,1007,103,1017,1018,1019,1020,104,1021,1022,1023,1024,1025,105,1026,1027,1028,1029,1030,2003,2004,2005,2006,2007,2197,2198,2199,2200,2201,2202,2000,2001,2021,2011,2012,2013,2018,2079,2080,2081,2082,2083,2002,2022,2008,2009,2010,2019,2014,2023,2015,2016,2017,2020,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2210,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2209,2036,2037,2038,2039,2040,2041,2088,2089,2090,2091,2092,2093,2094,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2157,2158,2159,2151,2152,2153,2154,2155,2156,2179,2180,2181,2182,2183,2184,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2070,2071,2185,2186,2187,2188,2189,2190,2191,2192,2193,2194,2195,2196,2072,2073,2074,2075,2076,2077,2078,2084,2085,2086,2087,2123,2124,2138,2139,2140,2141,2142,2143,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2144,2145,2146,2147,2148,2149,2150,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:12:36');
INSERT INTO `sys_oper_log` VALUES (533, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'admin', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"phonenumber\":\"\",\"admin\":false,\"remark\":\"mes 系统管理员\",\"password\":\"$2a$10$dXVlqS8wqkj/64eqCuz0LeioHoq0RhaifZFVnIpa4epAH480rMtU6\",\"postIds\":[],\"nickName\":\"MES管理员\",\"sex\":\"0\",\"deptId\":100,\"params\":{},\"userName\":\"MES管理员\",\"userId\":102,\"createBy\":\"admin\",\"roleIds\":[100],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:14:07');
INSERT INTO `sys_oper_log` VALUES (534, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[{\"flag\":false,\"roleId\":100,\"admin\":false,\"dataScope\":\"1\",\"params\":{},\"roleSort\":\"0\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"mes管理员\",\"roleName\":\"mes管理员\",\"status\":\"0\"}],\"phonenumber\":\"\",\"admin\":false,\"remark\":\"mes 系统管理员\",\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"admin\",\"postIds\":[],\"loginIp\":\"\",\"email\":\"\",\"nickName\":\"MES\",\"sex\":\"0\",\"deptId\":100,\"avatar\":\"\",\"dept\":{\"deptName\":\"鑫正\",\"leader\":\"若依\",\"deptId\":100,\"orderNum\":\"0\",\"params\":{},\"parentId\":0,\"children\":[],\"status\":\"0\"},\"params\":{},\"userName\":\"MES管理员\",\"userId\":102,\"createBy\":\"admin\",\"roleIds\":[100],\"createTime\":1661843647000,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:14:31');
INSERT INTO `sys_oper_log` VALUES (535, '用户管理', 3, 'com.ktg.web.controller.system.SysUserController.remove()', 'DELETE', 1, 'admin', NULL, '/system/user/102', '127.0.0.1', '内网IP', '{userIds=102}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:14:56');
INSERT INTO `sys_oper_log` VALUES (536, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'admin', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"admin\":false,\"remark\":\"MES 系统最高管理员\",\"password\":\"$2a$10$ucH3Vrr.TFR829TwNSq3zea3cMhSuoWT.XZlyQPPv8yO7MjOXO/9y\",\"postIds\":[],\"nickName\":\"MES 系统管理员\",\"sex\":\"2\",\"deptId\":100,\"params\":{},\"userName\":\"MES\",\"userId\":103,\"createBy\":\"admin\",\"roleIds\":[100],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:15:50');
INSERT INTO `sys_oper_log` VALUES (537, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'MES', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 15:17:59');
INSERT INTO `sys_oper_log` VALUES (538, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'MES', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"remark\":\"扫码枪类型\",\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 15:17:59');
INSERT INTO `sys_oper_log` VALUES (539, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'MES', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 15:20:54');
INSERT INTO `sys_oper_log` VALUES (540, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'MES', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 15:20:54');
INSERT INTO `sys_oper_log` VALUES (541, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'MES', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"MACHINERY_CODE\",\"createBy\":\"MES\",\"ruleName\":\"设备编码规则\",\"enableFlag\":\"Y\",\"maxLength\":13}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:30:39');
INSERT INTO `sys_oper_log` VALUES (542, '角色管理', 2, 'com.ktg.web.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', NULL, '/system/role', '127.0.0.1', '内网IP', '{\"flag\":false,\"roleId\":100,\"admin\":false,\"dataScope\":\"1\",\"delFlag\":\"0\",\"params\":{},\"roleSort\":\"0\",\"deptCheckStrictly\":true,\"createTime\":1661843361000,\"updateBy\":\"admin\",\"menuCheckStrictly\":true,\"roleKey\":\"mes管理员\",\"roleName\":\"mes管理员\",\"menuIds\":[1,100,1001,1002,1003,1004,1005,1006,1007,103,1017,1018,1019,1020,104,1021,1022,1023,1024,1025,105,1026,1027,1028,1029,1030,2003,2004,2005,2006,2007,2000,2001,2021,2011,2012,2013,2018,2079,2080,2081,2082,2083,2002,2022,2008,2009,2010,2019,2014,2023,2015,2016,2017,2020,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2210,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2209,2036,2037,2038,2039,2040,2041,2088,2089,2090,2091,2092,2093,2094,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2157,2158,2159,2151,2152,2153,2154,2155,2156,2179,2180,2181,2182,2183,2184,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2070,2071,2185,2186,2187,2188,2189,2190,2191,2192,2193,2194,2195,2196,2072,2073,2074,2075,2076,2077,2078,2084,2085,2086,2087,2123,2124,2138,2139,2140,2141,2142,2143,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2144,2145,2146,2147,2148,2149,2150,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:34:09');
INSERT INTO `sys_oper_log` VALUES (543, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'MES', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"admin\":false,\"password\":\"$2a$10$Uag1H47CMa7iVsHJnxaSd.h2y47WktJwLLUzEQNRjwyoMJbsWfbJ.\",\"postIds\":[],\"nickName\":\"test001\",\"deptId\":100,\"params\":{},\"userName\":\"测试 001\",\"userId\":104,\"createBy\":\"MES\",\"roleIds\":[],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:35:17');
INSERT INTO `sys_oper_log` VALUES (544, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.resetPwd()', 'PUT', 1, 'admin', NULL, '/system/user/resetPwd', '127.0.0.1', '内网IP', '{\"admin\":false,\"password\":\"$2a$10$nfZYLbLp5PocJKUvlKYDWe37J2f2/8PSzKiDCOcMRLSUQxPJje9OC\",\"updateBy\":\"admin\",\"params\":{},\"userId\":104}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:37:15');
INSERT INTO `sys_oper_log` VALUES (545, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'admin', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"admin\":false,\"password\":\"$2a$10$ZBrfhpyLDx6O5G/JlnXLo.dFVR1IyS099LnCecW9z3ur/ezJZNUla\",\"postIds\":[],\"nickName\":\"test001\",\"sex\":\"2\",\"deptId\":100,\"params\":{},\"userName\":\"test001\",\"userId\":105,\"createBy\":\"admin\",\"roleIds\":[],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:38:49');
INSERT INTO `sys_oper_log` VALUES (546, '用户管理', 3, 'com.ktg.web.controller.system.SysUserController.remove()', 'DELETE', 1, 'admin', NULL, '/system/user/104', '127.0.0.1', '内网IP', '{userIds=104}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:38:54');
INSERT INTO `sys_oper_log` VALUES (547, '用户管理', 5, 'com.ktg.web.controller.system.SysUserController.export()', 'POST', 1, 'admin', NULL, '/system/user/export', '127.0.0.1', '内网IP', '{\"admin\":false,\"params\":{\"dataScope\":\"\"}}', NULL, 0, NULL, '2022-08-30 15:39:55');
INSERT INTO `sys_oper_log` VALUES (548, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[],\"phonenumber\":\"13111111111\",\"admin\":false,\"loginDate\":1661845173000,\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"admin\",\"postIds\":[4],\"loginIp\":\"127.0.0.1\",\"email\":\"1109702647@qq.com\",\"nickName\":\"test001\",\"sex\":\"2\",\"deptId\":100,\"avatar\":\"\",\"dept\":{\"deptName\":\"鑫正\",\"leader\":\"若依\",\"deptId\":100,\"orderNum\":\"0\",\"params\":{},\"parentId\":0,\"children\":[],\"status\":\"0\"},\"params\":{},\"userName\":\"test001\",\"userId\":105,\"createBy\":\"admin\",\"roleIds\":[2],\"createTime\":1661845129000,\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:41:36');
INSERT INTO `sys_oper_log` VALUES (549, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.changeStatus()', 'PUT', 1, 'admin', NULL, '/system/user/changeStatus', '127.0.0.1', '内网IP', '{\"admin\":false,\"updateBy\":\"admin\",\"params\":{},\"userId\":103,\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:41:54');
INSERT INTO `sys_oper_log` VALUES (550, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.changeStatus()', 'PUT', 1, 'admin', NULL, '/system/user/changeStatus', '127.0.0.1', '内网IP', '{\"admin\":false,\"updateBy\":\"admin\",\"params\":{},\"userId\":103,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:41:58');
INSERT INTO `sys_oper_log` VALUES (551, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.changeStatus()', 'PUT', 1, 'admin', NULL, '/system/user/changeStatus', '127.0.0.1', '内网IP', '{\"admin\":false,\"updateBy\":\"admin\",\"params\":{},\"userId\":2,\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:42:10');
INSERT INTO `sys_oper_log` VALUES (552, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'admin', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[{\"flag\":false,\"roleId\":2,\"admin\":false,\"dataScope\":\"2\",\"params\":{},\"roleSort\":\"2\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"status\":\"0\"}],\"phonenumber\":\"13111111111\",\"admin\":false,\"loginDate\":1661845173000,\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"admin\",\"postIds\":[4],\"loginIp\":\"127.0.0.1\",\"email\":\"1109702647@qq.com\",\"nickName\":\"test001\",\"sex\":\"2\",\"deptId\":105,\"avatar\":\"\",\"dept\":{\"deptName\":\"鑫正\",\"leader\":\"若依\",\"deptId\":100,\"orderNum\":\"0\",\"params\":{},\"parentId\":0,\"children\":[],\"status\":\"0\"},\"params\":{},\"userName\":\"test001\",\"userId\":105,\"createBy\":\"admin\",\"roleIds\":[2],\"createTime\":1661845129000,\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:42:42');
INSERT INTO `sys_oper_log` VALUES (553, '部门管理', 1, 'com.ktg.web.controller.system.SysDeptController.add()', 'POST', 1, 'MES', NULL, '/system/dept', '127.0.0.1', '内网IP', '{\"deptName\":\"佛山业务部门\",\"leader\":\"test001\",\"orderNum\":\"0\",\"params\":{},\"parentId\":108,\"createBy\":\"MES\",\"children\":[],\"phone\":\"13111111111\",\"ancestors\":\"0,100,102,108\",\"email\":\"11097102647@qq.com\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:45:20');
INSERT INTO `sys_oper_log` VALUES (554, '用户管理', 1, 'com.ktg.web.controller.system.SysUserController.add()', 'POST', 1, 'MES', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"phonenumber\":\"13111111112\",\"admin\":false,\"password\":\"$2a$10$cmPURNGdQlU7BCwh0FVameD/FZpaYnydF8mFovTMZwVhP78V8SrhC\",\"postIds\":[],\"nickName\":\"test002\",\"sex\":\"2\",\"deptId\":200,\"params\":{},\"userName\":\"test002\",\"userId\":106,\"createBy\":\"MES\",\"roleIds\":[],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:46:13');
INSERT INTO `sys_oper_log` VALUES (555, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'MES', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[],\"phonenumber\":\"13111111112\",\"admin\":false,\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"MES\",\"postIds\":[],\"loginIp\":\"\",\"email\":\"\",\"nickName\":\"test002\",\"sex\":\"2\",\"deptId\":200,\"avatar\":\"\",\"dept\":{\"deptName\":\"佛山业务部门\",\"leader\":\"test001\",\"deptId\":200,\"orderNum\":\"0\",\"params\":{},\"parentId\":108,\"children\":[],\"status\":\"0\"},\"params\":{},\"userName\":\"test002\",\"userId\":106,\"createBy\":\"MES\",\"roleIds\":[2],\"createTime\":1661845572000,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:46:21');
INSERT INTO `sys_oper_log` VALUES (556, '部门管理', 2, 'com.ktg.web.controller.system.SysDeptController.edit()', 'PUT', 1, 'MES', NULL, '/system/dept', '127.0.0.1', '内网IP', '{\"deptName\":\"佛山业务部门\",\"leader\":\"test001\",\"deptId\":200,\"orderNum\":\"0\",\"delFlag\":\"0\",\"params\":{},\"parentId\":108,\"createBy\":\"MES\",\"children\":[],\"createTime\":1661845520000,\"phone\":\"13111111111\",\"updateBy\":\"MES\",\"ancestors\":\"0,100,102,108\",\"email\":\"11097102647@qq.com\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:47:23');
INSERT INTO `sys_oper_log` VALUES (557, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'MES', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[{\"flag\":false,\"roleId\":2,\"admin\":false,\"dataScope\":\"2\",\"params\":{},\"roleSort\":\"2\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"status\":\"0\"}],\"phonenumber\":\"13111111112\",\"admin\":false,\"loginDate\":1661845753000,\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"MES\",\"postIds\":[],\"loginIp\":\"127.0.0.1\",\"email\":\"\",\"nickName\":\"test002\",\"sex\":\"2\",\"deptId\":200,\"avatar\":\"\",\"dept\":{\"deptName\":\"佛山业务部门\",\"leader\":\"test001\",\"deptId\":200,\"orderNum\":\"0\",\"params\":{},\"parentId\":108,\"children\":[],\"status\":\"1\"},\"params\":{},\"userName\":\"test002\",\"userId\":106,\"createBy\":\"MES\",\"roleIds\":[2,100],\"createTime\":1661845572000,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:50:29');
INSERT INTO `sys_oper_log` VALUES (558, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'MES', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[{\"flag\":false,\"roleId\":2,\"admin\":false,\"dataScope\":\"2\",\"params\":{},\"roleSort\":\"2\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"status\":\"0\"},{\"flag\":false,\"roleId\":100,\"admin\":false,\"dataScope\":\"1\",\"params\":{},\"roleSort\":\"0\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"mes管理员\",\"roleName\":\"mes管理员\",\"status\":\"0\"}],\"phonenumber\":\"13111111112\",\"admin\":false,\"loginDate\":1661845874000,\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"MES\",\"postIds\":[],\"loginIp\":\"127.0.0.1\",\"email\":\"\",\"nickName\":\"test002\",\"sex\":\"2\",\"deptId\":200,\"avatar\":\"\",\"dept\":{\"deptName\":\"佛山业务部门\",\"leader\":\"test001\",\"deptId\":200,\"orderNum\":\"0\",\"params\":{},\"parentId\":108,\"children\":[],\"status\":\"1\"},\"params\":{},\"userName\":\"test002\",\"userId\":106,\"createBy\":\"MES\",\"roleIds\":[2],\"createTime\":1661845572000,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:51:18');
INSERT INTO `sys_oper_log` VALUES (559, '岗位管理', 1, 'com.ktg.web.controller.system.SysPostController.add()', 'POST', 1, 'MES', NULL, '/system/post', '127.0.0.1', '内网IP', '{\"postSort\":\"0\",\"flag\":false,\"postId\":5,\"params\":{},\"createBy\":\"MES\",\"postName\":\"测试人员\",\"postCode\":\"test\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:52:24');
INSERT INTO `sys_oper_log` VALUES (560, '岗位管理', 2, 'com.ktg.web.controller.system.SysPostController.edit()', 'PUT', 1, 'MES', NULL, '/system/post', '127.0.0.1', '内网IP', '{\"postSort\":\"5\",\"flag\":false,\"postId\":5,\"params\":{},\"createBy\":\"MES\",\"createTime\":1661845944000,\"updateBy\":\"MES\",\"postName\":\"测试人员\",\"postCode\":\"test\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:52:31');
INSERT INTO `sys_oper_log` VALUES (561, '部门管理', 3, 'com.ktg.web.controller.system.SysDeptController.remove()', 'DELETE', 1, 'MES', NULL, '/system/dept/200', '127.0.0.1', '内网IP', '{deptId=200}', '{\"msg\":\"部门存在用户,不允许删除\",\"code\":500}', 0, NULL, '2022-08-30 15:52:45');
INSERT INTO `sys_oper_log` VALUES (562, '部门管理', 3, 'com.ktg.web.controller.system.SysDeptController.remove()', 'DELETE', 1, 'MES', NULL, '/system/dept/200', '127.0.0.1', '内网IP', '{deptId=200}', '{\"msg\":\"部门存在用户,不允许删除\",\"code\":500}', 0, NULL, '2022-08-30 15:52:52');
INSERT INTO `sys_oper_log` VALUES (563, '部门管理', 3, 'com.ktg.web.controller.system.SysDeptController.remove()', 'DELETE', 1, 'MES', NULL, '/system/dept/200', '127.0.0.1', '内网IP', '{deptId=200}', '{\"msg\":\"部门存在用户,不允许删除\",\"code\":500}', 0, NULL, '2022-08-30 15:52:58');
INSERT INTO `sys_oper_log` VALUES (564, '用户管理', 2, 'com.ktg.web.controller.system.SysUserController.edit()', 'PUT', 1, 'MES', NULL, '/system/user', '127.0.0.1', '内网IP', '{\"roles\":[{\"flag\":false,\"roleId\":2,\"admin\":false,\"dataScope\":\"2\",\"params\":{},\"roleSort\":\"2\",\"deptCheckStrictly\":false,\"menuCheckStrictly\":false,\"roleKey\":\"common\",\"roleName\":\"普通角色\",\"status\":\"0\"}],\"phonenumber\":\"13111111112\",\"admin\":false,\"loginDate\":1661845874000,\"delFlag\":\"0\",\"password\":\"\",\"updateBy\":\"MES\",\"postIds\":[],\"loginIp\":\"127.0.0.1\",\"email\":\"\",\"nickName\":\"test002\",\"sex\":\"2\",\"deptId\":100,\"avatar\":\"\",\"dept\":{\"deptName\":\"佛山业务部门\",\"leader\":\"test001\",\"deptId\":200,\"orderNum\":\"0\",\"params\":{},\"parentId\":108,\"children\":[],\"status\":\"1\"},\"params\":{},\"userName\":\"test002\",\"userId\":106,\"createBy\":\"MES\",\"roleIds\":[2],\"createTime\":1661845572000,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:53:12');
INSERT INTO `sys_oper_log` VALUES (565, '部门管理', 3, 'com.ktg.web.controller.system.SysDeptController.remove()', 'DELETE', 1, 'MES', NULL, '/system/dept/200', '127.0.0.1', '内网IP', '{deptId=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:53:27');
INSERT INTO `sys_oper_log` VALUES (566, '字典类型', 1, 'com.ktg.web.controller.system.SysDictTypeController.add()', 'POST', 1, 'MES', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"MES\",\"dictName\":\"测试字典\",\"params\":{},\"dictType\":\"sys_test_dic\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:54:07');
INSERT INTO `sys_oper_log` VALUES (567, '字典类型', 2, 'com.ktg.web.controller.system.SysDictTypeController.edit()', 'PUT', 1, 'MES', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"MES\",\"createTime\":1661846047000,\"updateBy\":\"MES\",\"dictName\":\"测试字典\",\"dictId\":122,\"params\":{},\"dictType\":\"sys_test_dic\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:54:24');
INSERT INTO `sys_oper_log` VALUES (568, '字典类型', 3, 'com.ktg.web.controller.system.SysDictTypeController.remove()', 'DELETE', 1, 'MES', NULL, '/system/dict/type/122', '127.0.0.1', '内网IP', '{dictIds=122}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:54:34');
INSERT INTO `sys_oper_log` VALUES (569, '角色管理', 2, 'com.ktg.web.controller.system.SysRoleController.edit()', 'PUT', 1, 'admin', NULL, '/system/role', '127.0.0.1', '内网IP', '{\"flag\":false,\"roleId\":100,\"admin\":false,\"dataScope\":\"1\",\"delFlag\":\"0\",\"params\":{},\"roleSort\":\"0\",\"deptCheckStrictly\":true,\"createTime\":1661843361000,\"updateBy\":\"admin\",\"menuCheckStrictly\":true,\"roleKey\":\"mes管理员\",\"roleName\":\"mes管理员\",\"menuIds\":[1,100,1001,1002,1003,1004,1005,1006,1007,103,1017,1018,1019,1020,104,1021,1022,1023,1024,1025,2000,2001,2021,2011,2012,2013,2018,2079,2080,2081,2082,2083,2002,2022,2008,2009,2010,2019,2014,2023,2015,2016,2017,2020,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2210,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2209,2036,2037,2038,2039,2040,2041,2088,2089,2090,2091,2092,2093,2094,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2157,2158,2159,2151,2152,2153,2154,2155,2156,2179,2180,2181,2182,2183,2184,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2070,2071,2185,2186,2187,2188,2189,2190,2191,2192,2193,2194,2195,2196,2072,2073,2074,2075,2076,2077,2078,2084,2085,2086,2087,2123,2124,2138,2139,2140,2141,2142,2143,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2144,2145,2146,2147,2148,2149,2150,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178],\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:56:17');
INSERT INTO `sys_oper_log` VALUES (570, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"M\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":215,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 15:58:39');
INSERT INTO `sys_oper_log` VALUES (571, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":215,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:00:39');
INSERT INTO `sys_oper_log` VALUES (572, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:01:01');
INSERT INTO `sys_oper_log` VALUES (573, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:01:01');
INSERT INTO `sys_oper_log` VALUES (574, '更新自动编码规则', 2, 'com.ktg.web.controller.system.SysAutoCodeRuleController.updateInfo()', 'PUT', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"paddedMethod\":\"L\",\"ruleCode\":\"MACHINERY_TYPE_CODE\",\"createBy\":\"admin\",\"createTime\":1661284684000,\"updateBy\":\"admin\",\"ruleDesc\":\"\",\"ruleName\":\"设备类型编码规则\",\"ruleId\":208,\"enableFlag\":\"Y\",\"maxLength\":10}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:01:47');
INSERT INTO `sys_oper_log` VALUES (575, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:02:13');
INSERT INTO `sys_oper_log` VALUES (576, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:02:13');
INSERT INTO `sys_oper_log` VALUES (577, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:02:17');
INSERT INTO `sys_oper_log` VALUES (578, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:02:17');
INSERT INTO `sys_oper_log` VALUES (579, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:02:20');
INSERT INTO `sys_oper_log` VALUES (580, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '规则：[MACHINERY_TYPE_CODE]生成的编码为空！', '2022-08-30 16:02:20');
INSERT INTO `sys_oper_log` VALUES (581, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":2,\"seriaStartNo\":1,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":2,\"partName\":\"前缀\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:03:40');
INSERT INTO `sys_oper_log` VALUES (582, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"01\"', 0, NULL, '2022-08-30 16:04:10');
INSERT INTO `sys_oper_log` VALUES (583, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661846675091,\"machineryTypeCode\":\"01\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 16:04:10');
INSERT INTO `sys_oper_log` VALUES (584, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:05:21');
INSERT INTO `sys_oper_log` VALUES (585, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:05:28');
INSERT INTO `sys_oper_log` VALUES (586, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:05:32');
INSERT INTO `sys_oper_log` VALUES (587, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:05:36');
INSERT INTO `sys_oper_log` VALUES (588, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":2,\"fixCharacter\":\"MP\",\"partId\":224,\"seriaStartNo\":1,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":2,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:05:50');
INSERT INTO `sys_oper_log` VALUES (589, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:06:34');
INSERT INTO `sys_oper_log` VALUES (590, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:06:46');
INSERT INTO `sys_oper_log` VALUES (591, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:06:50');
INSERT INTO `sys_oper_log` VALUES (592, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:06:53');
INSERT INTO `sys_oper_log` VALUES (593, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 16:06:58');
INSERT INTO `sys_oper_log` VALUES (594, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":2,\"fixCharacter\":\"MP\",\"partId\":224,\"seriaStartNo\":1,\"updateTime\":1661846750000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:07:21');
INSERT INTO `sys_oper_log` VALUES (595, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:07:57');
INSERT INTO `sys_oper_log` VALUES (596, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"partId\":225,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"createTime\":1661846877000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:08:06');
INSERT INTO `sys_oper_log` VALUES (597, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:08:22');
INSERT INTO `sys_oper_log` VALUES (598, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:08:22');
INSERT INTO `sys_oper_log` VALUES (599, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:08:27');
INSERT INTO `sys_oper_log` VALUES (600, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:08:27');
INSERT INTO `sys_oper_log` VALUES (601, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:08:30');
INSERT INTO `sys_oper_log` VALUES (602, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:08:30');
INSERT INTO `sys_oper_log` VALUES (603, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:11:04');
INSERT INTO `sys_oper_log` VALUES (604, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:11:04');
INSERT INTO `sys_oper_log` VALUES (605, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:11:08');
INSERT INTO `sys_oper_log` VALUES (606, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:11:08');
INSERT INTO `sys_oper_log` VALUES (607, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:11:11');
INSERT INTO `sys_oper_log` VALUES (608, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:11:11');
INSERT INTO `sys_oper_log` VALUES (609, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:12:13');
INSERT INTO `sys_oper_log` VALUES (610, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:12:13');
INSERT INTO `sys_oper_log` VALUES (611, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:12:17');
INSERT INTO `sys_oper_log` VALUES (612, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:12:17');
INSERT INTO `sys_oper_log` VALUES (613, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:13:45');
INSERT INTO `sys_oper_log` VALUES (614, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:13:45');
INSERT INTO `sys_oper_log` VALUES (615, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:24:22');
INSERT INTO `sys_oper_log` VALUES (616, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:24:22');
INSERT INTO `sys_oper_log` VALUES (617, '删除物料编码', 3, 'com.ktg.web.controller.system.SysAutoCodePartController.delete()', 'DELETE', 1, 'admin', NULL, '/system/autocode/part/223', '127.0.0.1', '内网IP', '{partIds=223}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:24:52');
INSERT INTO `sys_oper_log` VALUES (618, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:25:16');
INSERT INTO `sys_oper_log` VALUES (619, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:25:16');
INSERT INTO `sys_oper_log` VALUES (620, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:25:27');
INSERT INTO `sys_oper_log` VALUES (621, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:25:27');
INSERT INTO `sys_oper_log` VALUES (622, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:26:16');
INSERT INTO `sys_oper_log` VALUES (623, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:26:16');
INSERT INTO `sys_oper_log` VALUES (624, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:27:46');
INSERT INTO `sys_oper_log` VALUES (625, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:27:46');
INSERT INTO `sys_oper_log` VALUES (626, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:32:07');
INSERT INTO `sys_oper_log` VALUES (627, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:32:07');
INSERT INTO `sys_oper_log` VALUES (628, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:32:39');
INSERT INTO `sys_oper_log` VALUES (629, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:32:39');
INSERT INTO `sys_oper_log` VALUES (630, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:34:13');
INSERT INTO `sys_oper_log` VALUES (631, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, '编码规则[MACHINERY_TYPE_CODE]流水号方式的组成只能存在一个', '2022-08-30 16:34:13');
INSERT INTO `sys_oper_log` VALUES (632, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":2,\"fixCharacter\":\"MP\",\"partId\":224,\"seriaStartNo\":1,\"updateTime\":1661846841000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:34:42');
INSERT INTO `sys_oper_log` VALUES (633, '删除物料编码', 3, 'com.ktg.web.controller.system.SysAutoCodePartController.delete()', 'DELETE', 1, 'admin', NULL, '/system/autocode/part/225', '127.0.0.1', '内网IP', '{partIds=225}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:34:57');
INSERT INTO `sys_oper_log` VALUES (634, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":2,\"fixCharacter\":\"MP\",\"partId\":224,\"seriaStartNo\":1,\"updateTime\":1661848482000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:35:38');
INSERT INTO `sys_oper_log` VALUES (635, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"seriaStep\":2,\"fixCharacter\":\"MP\",\"partId\":224,\"seriaStartNo\":1,\"updateTime\":1661848538000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:36:12');
INSERT INTO `sys_oper_log` VALUES (636, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"03\"', 0, NULL, '2022-08-30 16:37:11');
INSERT INTO `sys_oper_log` VALUES (637, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661848655973,\"machineryTypeCode\":\"03\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 16:37:11');
INSERT INTO `sys_oper_log` VALUES (638, '更新自动编码规则', 2, 'com.ktg.web.controller.system.SysAutoCodeRuleController.updateInfo()', 'PUT', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"paddedMethod\":\"L\",\"ruleCode\":\"MACHINERY_TYPE_CODE\",\"createBy\":\"admin\",\"createTime\":1661284684000,\"updateBy\":\"admin\",\"ruleDesc\":\"\",\"ruleName\":\"设备类型编码规则\",\"ruleId\":208,\"enableFlag\":\"Y\",\"maxLength\":10}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:37:52');
INSERT INTO `sys_oper_log` VALUES (639, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":2,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661848572000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:38:31');
INSERT INTO `sys_oper_log` VALUES (640, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661848711000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:44:52');
INSERT INTO `sys_oper_log` VALUES (641, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849092000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:45:27');
INSERT INTO `sys_oper_log` VALUES (642, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849127000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:45:40');
INSERT INTO `sys_oper_log` VALUES (643, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849140000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:49:06');
INSERT INTO `sys_oper_log` VALUES (644, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849140000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:53:45');
INSERT INTO `sys_oper_log` VALUES (645, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849140000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:54:11');
INSERT INTO `sys_oper_log` VALUES (646, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849651000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 16:54:23');
INSERT INTO `sys_oper_log` VALUES (647, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 16:54:55');
INSERT INTO `sys_oper_log` VALUES (648, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 16:54:55');
INSERT INTO `sys_oper_log` VALUES (649, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:00:22');
INSERT INTO `sys_oper_log` VALUES (650, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:00:22');
INSERT INTO `sys_oper_log` VALUES (651, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:01:03');
INSERT INTO `sys_oper_log` VALUES (652, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:01:03');
INSERT INTO `sys_oper_log` VALUES (653, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:01:39');
INSERT INTO `sys_oper_log` VALUES (654, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:01:39');
INSERT INTO `sys_oper_log` VALUES (655, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:01:47');
INSERT INTO `sys_oper_log` VALUES (656, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:01:47');
INSERT INTO `sys_oper_log` VALUES (657, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:02:52');
INSERT INTO `sys_oper_log` VALUES (658, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:02:52');
INSERT INTO `sys_oper_log` VALUES (659, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:02:52');
INSERT INTO `sys_oper_log` VALUES (660, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:02:52');
INSERT INTO `sys_oper_log` VALUES (661, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:03:02');
INSERT INTO `sys_oper_log` VALUES (662, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:03:02');
INSERT INTO `sys_oper_log` VALUES (663, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:06:37');
INSERT INTO `sys_oper_log` VALUES (664, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:06:37');
INSERT INTO `sys_oper_log` VALUES (665, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:07:49');
INSERT INTO `sys_oper_log` VALUES (666, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:07:49');
INSERT INTO `sys_oper_log` VALUES (667, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:10:35');
INSERT INTO `sys_oper_log` VALUES (668, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:10:35');
INSERT INTO `sys_oper_log` VALUES (669, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 17:11:27');
INSERT INTO `sys_oper_log` VALUES (670, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 17:11:27');
INSERT INTO `sys_oper_log` VALUES (671, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WAREHOUSE_CODE', '127.0.0.1', '内网IP', '{ruleCode=WAREHOUSE_CODE}', NULL, 1, '规则：[WAREHOUSE_CODE]生成的编码为空！', '2022-08-30 17:13:13');
INSERT INTO `sys_oper_log` VALUES (672, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试仓库负责人\",\"params\":{},\"warehouseName\":\"测试仓库\",\"warehouseCode\":\"001\",\"createTime\":1661850807994,\"warehouseId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 17:13:13');
INSERT INTO `sys_oper_log` VALUES (673, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试仓库负责人\",\"params\":{},\"warehouseName\":\"测试仓库\",\"warehouseCode\":\"001\"}', '{\"msg\":\"仓库编码已存在！\",\"code\":500}', 0, NULL, '2022-08-30 17:13:28');
INSERT INTO `sys_oper_log` VALUES (674, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试仓库负责人\",\"params\":{},\"warehouseName\":\"测试仓库\",\"warehouseCode\":\"002\"}', '{\"msg\":\"仓库名称已存在！\",\"code\":500}', 0, NULL, '2022-08-30 17:13:34');
INSERT INTO `sys_oper_log` VALUES (675, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试仓库负责人\",\"params\":{},\"warehouseName\":\"测试仓库001\",\"warehouseCode\":\"002\",\"createTime\":1661850846666,\"warehouseId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 17:13:41');
INSERT INTO `sys_oper_log` VALUES (676, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":110,\"charge\":\"测试负责人\",\"params\":{},\"warehouseName\":\"测试仓库002\",\"warehouseCode\":\"M003\",\"createTime\":1661850932948,\"warehouseId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 17:15:08');
INSERT INTO `sys_oper_log` VALUES (677, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WAREHOUSE_CODE', '127.0.0.1', '内网IP', '{ruleCode=WAREHOUSE_CODE}', NULL, 1, '规则：[WAREHOUSE_CODE]生成的编码为空！', '2022-08-30 17:18:46');
INSERT INTO `sys_oper_log` VALUES (678, '仓库设置', 1, 'com.ktg.mes.wm.controller.WmWarehouseController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试负责人\",\"params\":{},\"warehouseName\":\"测试仓库004\",\"warehouseCode\":\"004\",\"createTime\":1661851240430,\"warehouseId\":204}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 17:24:56');
INSERT INTO `sys_oper_log` VALUES (679, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 18:29:16');
INSERT INTO `sys_oper_log` VALUES (680, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"sssss\"}', NULL, 1, 'null', '2022-08-30 18:29:16');
INSERT INTO `sys_oper_log` VALUES (681, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', NULL, 1, 'null', '2022-08-30 18:50:12');
INSERT INTO `sys_oper_log` VALUES (682, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫码枪\"}', NULL, 1, 'null', '2022-08-30 18:50:12');
INSERT INTO `sys_oper_log` VALUES (683, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 18:50:21');
INSERT INTO `sys_oper_log` VALUES (684, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 18:50:26');
INSERT INTO `sys_oper_log` VALUES (685, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/SUBJECT_CODE', '127.0.0.1', '内网IP', '{ruleCode=SUBJECT_CODE}', NULL, 1, '未获取到指定类型:[SUBJECT_CODE]的业务编码生成规则', '2022-08-30 18:50:32');
INSERT INTO `sys_oper_log` VALUES (686, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WAREHOUSE_CODE', '127.0.0.1', '内网IP', '{ruleCode=WAREHOUSE_CODE}', NULL, 1, '规则：[WAREHOUSE_CODE]生成的编码为空！', '2022-08-30 18:50:44');
INSERT INTO `sys_oper_log` VALUES (687, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WAREHOUSE_CODE', '127.0.0.1', '内网IP', '{ruleCode=WAREHOUSE_CODE}', NULL, 1, '规则：[WAREHOUSE_CODE]生成的编码为空！', '2022-08-30 18:50:52');
INSERT INTO `sys_oper_log` VALUES (688, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WAREHOUSE_CODE', '127.0.0.1', '内网IP', '{ruleCode=WAREHOUSE_CODE}', NULL, 1, '规则：[WAREHOUSE_CODE]生成的编码为空！', '2022-08-30 18:50:58');
INSERT INTO `sys_oper_log` VALUES (689, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-30 18:51:48');
INSERT INTO `sys_oper_log` VALUES (690, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-30 18:51:53');
INSERT INTO `sys_oper_log` VALUES (691, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-30 18:51:57');
INSERT INTO `sys_oper_log` VALUES (692, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00004\"', 0, NULL, '2022-08-30 18:53:03');
INSERT INTO `sys_oper_log` VALUES (693, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00005\"', 0, NULL, '2022-08-30 18:53:04');
INSERT INTO `sys_oper_log` VALUES (694, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00004\"', 0, NULL, '2022-08-30 18:53:36');
INSERT INTO `sys_oper_log` VALUES (695, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00005\"', 0, NULL, '2022-08-30 18:53:37');
INSERT INTO `sys_oper_log` VALUES (696, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-30 18:53:42');
INSERT INTO `sys_oper_log` VALUES (697, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-30 18:53:44');
INSERT INTO `sys_oper_log` VALUES (698, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00006\"', 0, NULL, '2022-08-30 18:53:48');
INSERT INTO `sys_oper_log` VALUES (699, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00007\"', 0, NULL, '2022-08-30 18:53:50');
INSERT INTO `sys_oper_log` VALUES (700, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00008\"', 0, NULL, '2022-08-30 18:53:51');
INSERT INTO `sys_oper_log` VALUES (701, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00009\"', 0, NULL, '2022-08-30 18:53:52');
INSERT INTO `sys_oper_log` VALUES (702, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00010\"', 0, NULL, '2022-08-30 18:53:53');
INSERT INTO `sys_oper_log` VALUES (703, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00011\"', 0, NULL, '2022-08-30 18:53:54');
INSERT INTO `sys_oper_log` VALUES (704, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00012\"', 0, NULL, '2022-08-30 18:53:55');
INSERT INTO `sys_oper_log` VALUES (705, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00013\"', 0, NULL, '2022-08-30 18:53:56');
INSERT INTO `sys_oper_log` VALUES (706, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00014\"', 0, NULL, '2022-08-30 18:53:57');
INSERT INTO `sys_oper_log` VALUES (707, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00015\"', 0, NULL, '2022-08-30 18:53:58');
INSERT INTO `sys_oper_log` VALUES (708, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00016\"', 0, NULL, '2022-08-30 18:53:59');
INSERT INTO `sys_oper_log` VALUES (709, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00017\"', 0, NULL, '2022-08-30 18:54:00');
INSERT INTO `sys_oper_log` VALUES (710, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00018\"', 0, NULL, '2022-08-30 18:54:01');
INSERT INTO `sys_oper_log` VALUES (711, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00019\"', 0, NULL, '2022-08-30 18:54:02');
INSERT INTO `sys_oper_log` VALUES (712, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00020\"', 0, NULL, '2022-08-30 18:54:03');
INSERT INTO `sys_oper_log` VALUES (713, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00021\"', 0, NULL, '2022-08-30 18:54:04');
INSERT INTO `sys_oper_log` VALUES (714, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00022\"', 0, NULL, '2022-08-30 18:54:06');
INSERT INTO `sys_oper_log` VALUES (715, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00023\"', 0, NULL, '2022-08-30 18:54:07');
INSERT INTO `sys_oper_log` VALUES (716, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00024\"', 0, NULL, '2022-08-30 18:54:15');
INSERT INTO `sys_oper_log` VALUES (717, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00025\"', 0, NULL, '2022-08-30 18:54:16');
INSERT INTO `sys_oper_log` VALUES (718, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00026\"', 0, NULL, '2022-08-30 18:55:16');
INSERT INTO `sys_oper_log` VALUES (719, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00027\"', 0, NULL, '2022-08-30 18:55:18');
INSERT INTO `sys_oper_log` VALUES (720, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00028\"', 0, NULL, '2022-08-30 18:55:20');
INSERT INTO `sys_oper_log` VALUES (721, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00029\"', 0, NULL, '2022-08-30 18:55:22');
INSERT INTO `sys_oper_log` VALUES (722, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00030\"', 0, NULL, '2022-08-30 18:55:23');
INSERT INTO `sys_oper_log` VALUES (723, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-30 18:55:28');
INSERT INTO `sys_oper_log` VALUES (724, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00031\"', 0, NULL, '2022-08-30 18:55:55');
INSERT INTO `sys_oper_log` VALUES (725, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00032\"', 0, NULL, '2022-08-30 18:55:59');
INSERT INTO `sys_oper_log` VALUES (726, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00006\"', 0, NULL, '2022-08-30 18:58:29');
INSERT INTO `sys_oper_log` VALUES (727, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00007\"', 0, NULL, '2022-08-30 18:58:33');
INSERT INTO `sys_oper_log` VALUES (728, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00008\"', 0, NULL, '2022-08-30 18:58:42');
INSERT INTO `sys_oper_log` VALUES (729, '物料管理', 1, 'com.ktg.mes.md.controller.MdItemController.add()', 'POST', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"itemCode\":\"C00008\",\"itemTypeCode\":\"root\",\"specification\":\"是是是\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":202,\"createBy\":\"admin\",\"itemName\":\"121111\",\"maxStock\":0.0,\"itemTypeName\":\"产品分类\",\"itemTypeId\":1,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 18:58:57');
INSERT INTO `sys_oper_log` VALUES (730, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M\"', 0, NULL, '2022-08-30 18:59:27');
INSERT INTO `sys_oper_log` VALUES (731, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857191859,\"machineryTypeCode\":\"M\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"我去问问\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 18:59:27');
INSERT INTO `sys_oper_log` VALUES (732, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M\"', 0, NULL, '2022-08-30 18:59:35');
INSERT INTO `sys_oper_log` VALUES (733, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857200575,\"machineryTypeCode\":\"M\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"我去问问\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 18:59:35');
INSERT INTO `sys_oper_log` VALUES (734, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M\"', 0, NULL, '2022-08-30 18:59:40');
INSERT INTO `sys_oper_log` VALUES (735, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857204904,\"machineryTypeCode\":\"M\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"我去问问\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 18:59:40');
INSERT INTO `sys_oper_log` VALUES (736, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"PC\",\"params\":{},\"partIndex\":1,\"partName\":\"h\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 19:01:30');
INSERT INTO `sys_oper_log` VALUES (737, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"PC\",\"params\":{},\"partIndex\":1,\"partName\":\"h\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 19:01:44');
INSERT INTO `sys_oper_log` VALUES (738, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"partId\":201,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"createTime\":1661285165000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":200,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:02:30');
INSERT INTO `sys_oper_log` VALUES (739, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":1,\"partName\":\"流水号部分\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"规则组成不唯一，清检查组成编码、组成名称、组成序号\",\"code\":500}', 0, NULL, '2022-08-30 19:03:21');
INSERT INTO `sys_oper_log` VALUES (740, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":0,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:03:26');
INSERT INTO `sys_oper_log` VALUES (741, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661849663000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":2,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:03:36');
INSERT INTO `sys_oper_log` VALUES (742, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"partId\":226,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":1,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"createTime\":1661857406000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:03:41');
INSERT INTO `sys_oper_log` VALUES (743, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661857416000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":0,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:03:47');
INSERT INTO `sys_oper_log` VALUES (744, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661857427000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":3,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:04:15');
INSERT INTO `sys_oper_log` VALUES (745, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"partId\":226,\"seriaStartNo\":1,\"updateTime\":1661857421000,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号部分\",\"createBy\":\"admin\",\"createTime\":1661857406000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:04:21');
INSERT INTO `sys_oper_log` VALUES (746, '更新物料编码', 2, 'com.ktg.web.controller.system.SysAutoCodePartController.update()', 'PUT', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"seriaStep\":1,\"fixCharacter\":\"M\",\"partId\":224,\"seriaStartNo\":1,\"remark\":\"备注\",\"updateTime\":1661857455000,\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"createTime\":1661846620000,\"updateBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":208,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:04:27');
INSERT INTO `sys_oper_log` VALUES (747, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00009\"', 0, NULL, '2022-08-30 19:04:43');
INSERT INTO `sys_oper_log` VALUES (748, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857508139,\"machineryTypeCode\":\"M00009\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"11111\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:04:43');
INSERT INTO `sys_oper_log` VALUES (749, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00010\"', 0, NULL, '2022-08-30 19:04:56');
INSERT INTO `sys_oper_log` VALUES (750, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857521840,\"machineryTypeCode\":\"M00010\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"11111\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:04:57');
INSERT INTO `sys_oper_log` VALUES (751, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00011\"', 0, NULL, '2022-08-30 19:05:10');
INSERT INTO `sys_oper_log` VALUES (752, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"remark\":\"111111\",\"params\":{},\"children\":[],\"createTime\":1661857535658,\"machineryTypeCode\":\"M00011\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"11111\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,             remark,                                                                              create_time )           values ( ?,             ?,             ?,                          ?,             ?,                                                                              ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:05:10');
INSERT INTO `sys_oper_log` VALUES (753, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00012\"', 0, NULL, '2022-08-30 19:11:06');
INSERT INTO `sys_oper_log` VALUES (754, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":200,\"params\":{},\"children\":[],\"createTime\":1661857890859,\"machineryTypeId\":201,\"ancestors\":\",200\",\"machineryTypeCode\":\"M00012\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"1111\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:11:06');
INSERT INTO `sys_oper_log` VALUES (755, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00013\"', 0, NULL, '2022-08-30 19:12:41');
INSERT INTO `sys_oper_log` VALUES (756, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857986457,\"machineryTypeCode\":\"M00013\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"产品\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:12:41');
INSERT INTO `sys_oper_log` VALUES (757, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00014\"', 0, NULL, '2022-08-30 19:12:53');
INSERT INTO `sys_oper_log` VALUES (758, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661857997967,\"machineryTypeCode\":\"M00014\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"呃呃呃\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:12:53');
INSERT INTO `sys_oper_log` VALUES (759, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00015\"', 0, NULL, '2022-08-30 19:13:08');
INSERT INTO `sys_oper_log` VALUES (760, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661858013110,\"machineryTypeCode\":\"M00015\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"555\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:13:08');
INSERT INTO `sys_oper_log` VALUES (761, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00016\"', 0, NULL, '2022-08-30 19:13:11');
INSERT INTO `sys_oper_log` VALUES (762, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661858016863,\"machineryTypeCode\":\"M00016\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"555\"}', NULL, 1, '\r\n### Error updating database.  Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\dv\\DvMachineryTypeMapper.xml]\r\n### The error may involve com.ktg.mes.dv.mapper.DvMachineryTypeMapper.insertDvMachineryType-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into dv_machinery_type          ( machinery_type_code,             machinery_type_name,             parent_type_id,                          enable_flag,                                                                                           create_time )           values ( ?,             ?,             ?,                          ?,                                                                                           ? )\r\n### Cause: java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value\n; Field \'ancestors\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'ancestors\' doesn\'t have a default value', '2022-08-30 19:13:12');
INSERT INTO `sys_oper_log` VALUES (763, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00017\"', 0, NULL, '2022-08-30 19:14:03');
INSERT INTO `sys_oper_log` VALUES (764, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661858068220,\"machineryTypeId\":202,\"machineryTypeCode\":\"M00017\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"2222\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:14:03');
INSERT INTO `sys_oper_log` VALUES (765, '设备类型', 2, 'com.ktg.mes.dv.controller.DvMachineryTypeController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"remark\":\"\",\"updateTime\":1661858153837,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"children\":[],\"createTime\":1661858068000,\"updateBy\":\"\",\"machineryTypeId\":202,\"ancestors\":\"\",\"machineryTypeCode\":\"M00017\",\"enableFlag\":\"N\",\"machineryTypeName\":\"2222\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:15:29');
INSERT INTO `sys_oper_log` VALUES (766, '设备类型', 2, 'com.ktg.mes.dv.controller.DvMachineryTypeController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"remark\":\"\",\"updateTime\":1661858161517,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"children\":[],\"createTime\":1661858068000,\"updateBy\":\"\",\"machineryTypeId\":202,\"ancestors\":\"\",\"machineryTypeCode\":\"M00017\",\"enableFlag\":\"N\",\"machineryTypeName\":\"0111\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:15:36');
INSERT INTO `sys_oper_log` VALUES (767, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', 'MACHINERY_TYPE_CODE', '\"M00018\"', 0, NULL, '2022-08-30 19:16:08');
INSERT INTO `sys_oper_log` VALUES (768, '设备类型', 1, 'com.ktg.mes.dv.controller.DvMachineryTypeController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":0,\"params\":{},\"children\":[],\"createTime\":1661858192868,\"machineryTypeId\":203,\"machineryTypeCode\":\"M00018\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"跟类型2\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:16:08');
INSERT INTO `sys_oper_log` VALUES (769, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:16:25');
INSERT INTO `sys_oper_log` VALUES (770, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/SUBJECT_CODE', '127.0.0.1', '内网IP', '{ruleCode=SUBJECT_CODE}', NULL, 1, '未获取到指定类型:[SUBJECT_CODE]的业务编码生成规则', '2022-08-30 19:17:31');
INSERT INTO `sys_oper_log` VALUES (771, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/SUBJECT_CODE', '127.0.0.1', '内网IP', '{ruleCode=SUBJECT_CODE}', NULL, 1, '未获取到指定类型:[SUBJECT_CODE]的业务编码生成规则', '2022-08-30 19:20:20');
INSERT INTO `sys_oper_log` VALUES (772, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"SUBJECT_CODE\",\"createBy\":\"admin\",\"ruleName\":\"设备点检保养项目编码\",\"enableFlag\":\"Y\",\"maxLength\":6}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:21:49');
INSERT INTO `sys_oper_log` VALUES (773, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"fixCharacter\":\"SUB\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"固定前缀\",\"createBy\":\"admin\",\"ruleId\":216,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:22:31');
INSERT INTO `sys_oper_log` VALUES (774, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":216,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:23:53');
INSERT INTO `sys_oper_log` VALUES (775, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:24:16');
INSERT INTO `sys_oper_log` VALUES (776, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/SUBJECT_CODE', '127.0.0.1', '内网IP', '{ruleCode=SUBJECT_CODE}', '\"SUB001\"', 0, NULL, '2022-08-30 19:24:26');
INSERT INTO `sys_oper_log` VALUES (777, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:24:38');
INSERT INTO `sys_oper_log` VALUES (778, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:25:02');
INSERT INTO `sys_oper_log` VALUES (779, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:25:09');
INSERT INTO `sys_oper_log` VALUES (780, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:25:45');
INSERT INTO `sys_oper_log` VALUES (781, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', NULL, 1, '未查询到规则{[]}对应的结果记录', '2022-08-30 19:26:58');
INSERT INTO `sys_oper_log` VALUES (782, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":215,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:34:24');
INSERT INTO `sys_oper_log` VALUES (783, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/MACHINERY_CODE', '127.0.0.1', '内网IP', '{ruleCode=MACHINERY_CODE}', '\"M0001\"', 0, NULL, '2022-08-30 19:34:35');
INSERT INTO `sys_oper_log` VALUES (784, '设备', 1, 'com.ktg.mes.dv.controller.DvMachineryController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/machinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"params\":{},\"createTime\":1661859355792,\"machineryTypeId\":201,\"workshopId\":200,\"machineryBrand\":\"品牌\",\"status\":\"STOP\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:35:30');
INSERT INTO `sys_oper_log` VALUES (785, '设备', 2, 'com.ktg.mes.dv.controller.DvMachineryController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661859362581,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"machineryTypeId\":201,\"workshopId\":200,\"machineryBrand\":\"品牌\",\"status\":\"STOP\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:35:37');
INSERT INTO `sys_oper_log` VALUES (786, '设备类型', 2, 'com.ktg.mes.dv.controller.DvMachineryTypeController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinerytype', '127.0.0.1', '内网IP', '{\"parentTypeId\":200,\"remark\":\"\",\"updateTime\":1661859391561,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"children\":[],\"createTime\":1661857891000,\"updateBy\":\"\",\"machineryTypeId\":201,\"ancestors\":\",200\",\"machineryTypeCode\":\"M00012\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"扫描器\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:36:06');
INSERT INTO `sys_oper_log` VALUES (787, '设备', 2, 'com.ktg.mes.dv.controller.DvMachineryController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661859431616,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"machineryTypeId\":201,\"workshopId\":202,\"machineryBrand\":\"品牌\",\"status\":\"STOP\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:36:46');
INSERT INTO `sys_oper_log` VALUES (788, '设备', 2, 'com.ktg.mes.dv.controller.DvMachineryController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661860251929,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"machineryTypeId\":201,\"workshopId\":202,\"machineryBrand\":\"品牌\",\"status\":\"STOP\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 19:50:27');
INSERT INTO `sys_oper_log` VALUES (789, '设备类型', 2, 'com.ktg.mes.dv.controller.DvMachineryTypeController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/machinerytype', '120.230.64.119', 'XX XX', '{\"parentTypeId\":0,\"remark\":\"\",\"updateTime\":1661867818891,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"children\":[],\"updateBy\":\"\",\"machineryTypeId\":200,\"ancestors\":\"\",\"machineryTypeCode\":\"M00000\",\"enableFlag\":\"Y\",\"machineryTypeName\":\"所有类型\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-30 21:56:58');
INSERT INTO `sys_oper_log` VALUES (790, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_TEAM_CODE', '127.0.0.1', '内网IP', '{ruleCode=CAL_TEAM_CODE}', '\"T004\"', 0, NULL, '2022-08-31 10:39:11');
INSERT INTO `sys_oper_log` VALUES (791, '班组', 1, 'com.ktg.mes.cal.controller.CalTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/team', '127.0.0.1', '内网IP', '{\"teamName\":\"班组04\",\"calendarType\":\"PG\",\"teamCode\":\"T004\",\"params\":{},\"createTime\":1661913601568,\"teamId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:39:36');
INSERT INTO `sys_oper_log` VALUES (792, '班组', 2, 'com.ktg.mes.cal.controller.CalTeamController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/team', '127.0.0.1', '内网IP', '{\"teamName\":\"班组04\",\"calendarType\":\"CK\",\"teamCode\":\"T004\",\"remark\":\"\",\"updateTime\":1661913608568,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661913602000,\"updateBy\":\"\",\"teamId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:39:43');
INSERT INTO `sys_oper_log` VALUES (793, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022008\"', 0, NULL, '2022-08-31 10:40:23');
INSERT INTO `sys_oper_log` VALUES (794, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022009\"', 0, NULL, '2022-08-31 10:40:26');
INSERT INTO `sys_oper_log` VALUES (795, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"SC\",\"shiftType\":\"SHIFT_THREE\",\"endDate\":1661875200000,\"planName\":\"测试计划\",\"params\":{},\"planCode\":\"PLAN2022009\",\"createTime\":1661913684328,\"shiftCount\":1,\"planId\":205,\"shiftMethod\":\"DAY\",\"startDate\":1659283200000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:40:59');
INSERT INTO `sys_oper_log` VALUES (796, '仓库设置', 2, 'com.ktg.mes.wm.controller.WmWarehouseController.edit()', 'PUT', 1, 'admin', NULL, '/mes/wm/warehouse', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试仓库负责人\",\"remark\":\"\",\"updateTime\":1661913896274,\"params\":{},\"warehouseName\":\"测试仓库\",\"attr4\":0,\"warehouseCode\":\"001\",\"attr3\":0,\"createBy\":\"\",\"children\":[{\"area\":100,\"params\":{},\"children\":[{\"area\":100,\"params\":{}}],\"warehouseId\":201}],\"createTime\":1661850808000,\"updateBy\":\"\",\"warehouseId\":201,\"location\":\"位置\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:44:31');
INSERT INTO `sys_oper_log` VALUES (797, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.execute()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt/200', '127.0.0.1', '内网IP', '200', NULL, 1, '\r\n### Error querying database.  Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock\n     \n         WHERE  item_id = ?\n             and unit_of_measure = ?\n             and batch_code = ?\n             and warehouse_id = ?\n             and location_id = ?\n            \n             and vendor_id = ? \n        and 1=1 limit 1\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\wm\\WmMaterialStockMapper.xml]\r\n### The error may involve com.ktg.mes.wm.mapper.WmMaterialStockMapper.loadMaterialStock\r\n### The error occurred while executing a query\r\n### SQL: select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock                WHERE  item_id = ?              and unit_of_measure = ?              and batch_code = ?              and warehouse_id = ?              and location_id = ?                           and vendor_id = ?          and 1=1 limit 1\r\n### Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, ware', '2022-08-31 10:45:18');
INSERT INTO `sys_oper_log` VALUES (798, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEMRECPT_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEMRECPT_CODE}', NULL, 1, '未获取到指定类型:[ITEMRECPT_CODE]的业务编码生成规则', '2022-08-31 10:45:23');
INSERT INTO `sys_oper_log` VALUES (799, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEMRECPT_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEMRECPT_CODE}', NULL, 1, '未获取到指定类型:[ITEMRECPT_CODE]的业务编码生成规则', '2022-08-31 10:45:26');
INSERT INTO `sys_oper_log` VALUES (800, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEMRECPT_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEMRECPT_CODE}', NULL, 1, '未获取到指定类型:[ITEMRECPT_CODE]的业务编码生成规则', '2022-08-31 10:48:37');
INSERT INTO `sys_oper_log` VALUES (801, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"ITEMRECPT_CODE\",\"createBy\":\"admin\",\"ruleName\":\"物料入库单编码规则\",\"enableFlag\":\"Y\",\"maxLength\":12}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:49:45');
INSERT INTO `sys_oper_log` VALUES (802, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"R\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":217,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:51:12');
INSERT INTO `sys_oper_log` VALUES (803, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":7,\"dateFormat\":\"yyyyMMdd\",\"partCode\":\"DATE\",\"params\":{},\"partIndex\":2,\"partName\":\"日期\",\"createBy\":\"admin\",\"ruleId\":217,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:52:09');
INSERT INTO `sys_oper_log` VALUES (804, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"DAY\",\"ruleId\":217,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:53:08');
INSERT INTO `sys_oper_log` VALUES (805, '节假日设置', 1, 'com.ktg.mes.cal.controller.CalHolidayController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calholiday', '127.0.0.1', '内网IP', '{\"params\":{},\"theDay\":1659369600000,\"holidayType\":\"HOLIDAY\",\"createTime\":1661914487780,\"startTime\":1661878482155,\"endTime\":1661961282155,\"holidayId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:54:22');
INSERT INTO `sys_oper_log` VALUES (806, '节假日设置', 1, 'com.ktg.mes.cal.controller.CalHolidayController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calholiday', '127.0.0.1', '内网IP', '{\"params\":{},\"theDay\":1659456000000,\"holidayType\":\"HOLIDAY\",\"createTime\":1661914495932,\"startTime\":1661878492837,\"endTime\":1661961292837,\"holidayId\":203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:54:30');
INSERT INTO `sys_oper_log` VALUES (807, '节假日设置', 1, 'com.ktg.mes.cal.controller.CalHolidayController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calholiday', '127.0.0.1', '内网IP', '{\"params\":{},\"theDay\":1659542400000,\"holidayType\":\"HOLIDAY\",\"createTime\":1661914501412,\"startTime\":1661878497524,\"endTime\":1661961297524,\"holidayId\":204}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:54:36');
INSERT INTO `sys_oper_log` VALUES (808, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"SC\",\"shiftType\":\"SHIFT_THREE\",\"endDate\":1661875200000,\"planName\":\"测试计划\",\"remark\":\"\",\"updateTime\":1661914537093,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022009\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661913684000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":205,\"shiftMethod\":\"DAY\",\"startDate\":1659283200000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:55:11');
INSERT INTO `sys_oper_log` VALUES (809, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"SC\",\"shiftType\":\"SHIFT_THREE\",\"endDate\":1661875200000,\"planName\":\"测试计划\",\"remark\":\"\",\"updateTime\":1661914552427,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022009\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661913684000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":205,\"shiftMethod\":\"DAY\",\"startDate\":1659283200000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:55:27');
INSERT INTO `sys_oper_log` VALUES (810, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022010\"', 0, NULL, '2022-08-31 10:55:56');
INSERT INTO `sys_oper_log` VALUES (811, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022011\"', 0, NULL, '2022-08-31 10:56:05');
INSERT INTO `sys_oper_log` VALUES (812, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"PL\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"测试计划\",\"params\":{},\"planCode\":\"PLAN2022011\",\"createTime\":1661914651766,\"shiftCount\":4,\"planId\":206,\"shiftMethod\":\"DAY\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:57:06');
INSERT INTO `sys_oper_log` VALUES (813, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '127.0.0.1', '内网IP', '{\"teamName\":\"班组04\",\"teamCode\":\"T004\",\"params\":{},\"recordId\":206,\"createTime\":1661914747250,\"teamId\":203,\"planId\":206}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:58:42');
INSERT INTO `sys_oper_log` VALUES (814, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '127.0.0.1', '内网IP', '{\"teamName\":\"班组03\",\"teamCode\":\"T003\",\"params\":{},\"recordId\":207,\"createTime\":1661914747262,\"teamId\":202,\"planId\":206}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:58:42');
INSERT INTO `sys_oper_log` VALUES (815, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"PL\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"测试计划\",\"remark\":\"\",\"updateTime\":1661914758726,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022011\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661914652000,\"shiftCount\":4,\"updateBy\":\"\",\"planId\":206,\"shiftMethod\":\"DAY\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:58:53');
INSERT INTO `sys_oper_log` VALUES (816, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"PL\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"测试计划\",\"remark\":\"\",\"updateTime\":1661914812044,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022011\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661914652000,\"shiftCount\":4,\"updateBy\":\"\",\"planId\":206,\"shiftMethod\":\"DAY\",\"startDate\":1661961600000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 10:59:46');
INSERT INTO `sys_oper_log` VALUES (817, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CAL_PLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CAL_PLAN_CODE}', '\"PLAN2022012\"', 0, NULL, '2022-08-31 11:01:32');
INSERT INTO `sys_oper_log` VALUES (818, '排班计划', 1, 'com.ktg.mes.cal.controller.CalPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"PG\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"测试计划03\",\"params\":{},\"planCode\":\"PLAN2022012\",\"createTime\":1661914956359,\"shiftCount\":1,\"planId\":207,\"shiftMethod\":\"MONTH\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:02:11');
INSERT INTO `sys_oper_log` VALUES (819, '计划班组', 1, 'com.ktg.mes.cal.controller.CalPlanTeamController.add()', 'POST', 1, 'admin', NULL, '/mes/cal/planteam', '127.0.0.1', '内网IP', '{\"teamName\":\"班组04\",\"teamCode\":\"T004\",\"params\":{},\"recordId\":208,\"createTime\":1661914989831,\"teamId\":203,\"planId\":207}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:02:44');
INSERT INTO `sys_oper_log` VALUES (820, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"PG\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"测试计划03\",\"remark\":\"\",\"updateTime\":1661915001644,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022012\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661914956000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":207,\"shiftMethod\":\"MONTH\",\"startDate\":1661961600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:02:56');
INSERT INTO `sys_oper_log` VALUES (821, '排班计划', 2, 'com.ktg.mes.cal.controller.CalPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/cal/calplan', '127.0.0.1', '内网IP', '{\"calendarType\":\"PG\",\"shiftType\":\"SHIFT_TWO\",\"endDate\":1662739200000,\"planName\":\"测试计划03\",\"remark\":\"\",\"updateTime\":1661915013911,\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022012\",\"attr3\":0,\"createBy\":\"\",\"createTime\":1661914956000,\"shiftCount\":1,\"updateBy\":\"\",\"planId\":207,\"shiftMethod\":\"MONTH\",\"startDate\":1661961600000,\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:03:08');
INSERT INTO `sys_oper_log` VALUES (822, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00033\"', 0, NULL, '2022-08-31 11:43:29');
INSERT INTO `sys_oper_log` VALUES (823, '更新物料产品分类', 2, 'com.ktg.mes.md.controller.ItemTypeController.update()', 'PUT', 1, 'admin', NULL, '/mes/md/itemtype', '127.0.0.1', '内网IP', '{\"parentTypeId\":242,\"itemTypeCode\":\"010102010202\",\"orderNum\":1,\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"children\":[],\"createTime\":1661351988000,\"updateBy\":\"admin\",\"itemTypeName\":\"BB24系列\",\"ancestors\":\",1,214,215,236,237,242\",\"itemTypeId\":244,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-08-31 11:44:13');
INSERT INTO `sys_oper_log` VALUES (824, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CLIENT_CODE', '127.0.0.1', '内网IP', '{ruleCode=CLIENT_CODE}', '\"C00034\"', 0, NULL, '2022-08-31 11:44:21');
INSERT INTO `sys_oper_log` VALUES (825, '客户', 1, 'com.ktg.mes.md.controller.MdClientController.add()', 'POST', 1, 'admin', NULL, '/mes/md/client', '127.0.0.1', '内网IP', '{\"clientName\":\"测试客户\",\"clientDes\":\"客户简介\",\"contact2Tel\":\"联系人2-电话\",\"remark\":\"111111111114@qq.com\",\"contact2Email\":\"111111111112@qq.com\",\"clientType\":\"ENTERPRISE\",\"creditCode\":\"111111111113@qq.com\",\"contact1Tel\":\"联系人1-电话\",\"tel\":\"13111111111\",\"enableFlag\":\"Y\",\"email\":\"111111111111@qq.com\",\"website\":\"https://www.baidu.com\",\"address\":\"客户地址\",\"clientId\":201,\"clientLogo\":\"logo\",\"params\":{},\"clientEn\":\"jsh\",\"createTime\":1661917660751,\"clientCode\":\"C00034\",\"contact1Email\":\"111111111112@qq.com\",\"contact1\":\"联系人1\",\"clientNick\":\"测试客户简称\",\"contact2\":\"联系人2\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:47:15');
INSERT INTO `sys_oper_log` VALUES (826, '客户', 3, 'com.ktg.mes.md.controller.MdClientController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/client/200', '127.0.0.1', '内网IP', '{clientIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:47:39');
INSERT INTO `sys_oper_log` VALUES (827, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-31 11:49:06');
INSERT INTO `sys_oper_log` VALUES (828, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', NULL, 1, '规则：[VENDOR_CODE]生成的编码为空！', '2022-08-31 11:51:01');
INSERT INTO `sys_oper_log` VALUES (829, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"VENDOR_CODE\",\"ruleName\":\"供应商编码规则\",\"enableFlag\":\"Y\",\"maxLength\":6}', NULL, 1, '', '2022-08-31 11:52:02');
INSERT INTO `sys_oper_log` VALUES (830, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"V\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":203,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:52:50');
INSERT INTO `sys_oper_log` VALUES (831, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":5,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":203,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:53:30');
INSERT INTO `sys_oper_log` VALUES (832, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/VENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=VENDOR_CODE}', '\"V00001\"', 0, NULL, '2022-08-31 11:54:00');
INSERT INTO `sys_oper_log` VALUES (833, '供应商', 1, 'com.ktg.mes.md.controller.MdVendorController.add()', 'POST', 1, 'admin', NULL, '/mes/md/vendor', '127.0.0.1', '内网IP', '{\"contact2Tel\":\"联系人2-电话\",\"vendorId\":201,\"remark\":\"备注\",\"vendorLogo\":\"供应商LOGO地址\",\"contact2Email\":\"联系人2-邮箱\",\"vendorCode\":\"V00001\",\"creditCode\":\"统一社会信用代码\",\"vendorNick\":\"供应商简称\",\"contact1Tel\":\"联系人1-电话\",\"tel\":\"供应商电话\",\"vendorEn\":\"供应商英文名称\",\"enableFlag\":\"Y\",\"email\":\"供应商邮箱地址\",\"vendorLevel\":\"B\",\"website\":\"供应商官网地址\",\"address\":\"供应商地址\",\"params\":{},\"vendorName\":\"供应商名称\",\"vendorDes\":\"供应商简介\",\"createTime\":1661918160519,\"vendorScore\":98,\"contact1Email\":\"联系人1-邮箱\",\"contact1\":\"联系人1\",\"contact2\":\"联系人2\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:55:34');
INSERT INTO `sys_oper_log` VALUES (834, '供应商', 3, 'com.ktg.mes.md.controller.MdVendorController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/vendor/200', '127.0.0.1', '内网IP', '{vendorIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:55:49');
INSERT INTO `sys_oper_log` VALUES (835, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/PROCESS_CODE', '127.0.0.1', '内网IP', '{ruleCode=PROCESS_CODE}', NULL, 1, '未获取到指定类型:[PROCESS_CODE]的业务编码生成规则', '2022-08-31 11:56:13');
INSERT INTO `sys_oper_log` VALUES (836, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"PROCESS_CODE\",\"createBy\":\"admin\",\"ruleName\":\"工序编码规则\",\"enableFlag\":\"Y\",\"maxLength\":10}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:56:53');
INSERT INTO `sys_oper_log` VALUES (837, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":7,\"fixCharacter\":\"PROCESS\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":218,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:57:33');
INSERT INTO `sys_oper_log` VALUES (838, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":218,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:58:32');
INSERT INTO `sys_oper_log` VALUES (839, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/PROCESS_CODE', '127.0.0.1', '内网IP', '{ruleCode=PROCESS_CODE}', '\"PROCESS001\"', 0, NULL, '2022-08-31 11:58:54');
INSERT INTO `sys_oper_log` VALUES (840, '生产工序', 1, 'com.ktg.mes.pro.controller.ProProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"备注\",\"params\":{},\"createTime\":1661918381604,\"processId\":202,\"processName\":\"工序名称\",\"processCode\":\"PROCESS001\",\"attention\":\"工序说明\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:59:16');
INSERT INTO `sys_oper_log` VALUES (841, '生产工序', 3, 'com.ktg.mes.pro.controller.ProProcessController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/pro/process/201', '127.0.0.1', '内网IP', '{processIds=201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:59:24');
INSERT INTO `sys_oper_log` VALUES (842, '生产工序', 3, 'com.ktg.mes.pro.controller.ProProcessController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/pro/process/200', '127.0.0.1', '内网IP', '{processIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 11:59:26');
INSERT INTO `sys_oper_log` VALUES (843, '生产工序内容', 1, 'com.ktg.mes.pro.controller.ProProcessContentController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/processcontent', '127.0.0.1', '内网IP', '{\"contentId\":201,\"contentText\":\"步骤说明01\",\"orderNum\":1,\"remark\":\"备注01\",\"params\":{},\"material\":\"辅助材料01\",\"createTime\":1661918434817,\"processId\":202,\"docUrl\":\"材料URL01\",\"device\":\"辅助设备01\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:00:09');
INSERT INTO `sys_oper_log` VALUES (844, '生产工序内容', 1, 'com.ktg.mes.pro.controller.ProProcessContentController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/processcontent', '127.0.0.1', '内网IP', '{\"contentId\":202,\"contentText\":\"步骤说明02\",\"orderNum\":2,\"remark\":\"备注02\",\"params\":{},\"material\":\"辅助材料02\",\"createTime\":1661918465009,\"processId\":202,\"docUrl\":\"材料URL02\",\"device\":\"辅助设备02\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:00:39');
INSERT INTO `sys_oper_log` VALUES (845, '生产工序', 2, 'com.ktg.mes.pro.controller.ProProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"备注\",\"updateTime\":1661918470503,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661918382000,\"processId\":202,\"processName\":\"工序名称\",\"updateBy\":\"\",\"processCode\":\"PROCESS001\",\"attention\":\"工序说明\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:00:44');
INSERT INTO `sys_oper_log` VALUES (846, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/PROCESS_CODE', '127.0.0.1', '内网IP', '{ruleCode=PROCESS_CODE}', '\"PROCESS002\"', 0, NULL, '2022-08-31 12:01:01');
INSERT INTO `sys_oper_log` VALUES (847, '生产工序', 1, 'com.ktg.mes.pro.controller.ProProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"备注02\",\"params\":{},\"createTime\":1661918506151,\"processId\":203,\"processName\":\"工序名称02\",\"processCode\":\"PROCESS002\",\"attention\":\"工序说明02\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:01:20');
INSERT INTO `sys_oper_log` VALUES (848, '生产工序', 2, 'com.ktg.mes.pro.controller.ProProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"备注01\",\"updateTime\":1661918516228,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661918382000,\"processId\":202,\"processName\":\"工序名称01\",\"updateBy\":\"\",\"processCode\":\"PROCESS001\",\"attention\":\"工序说明01\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:01:30');
INSERT INTO `sys_oper_log` VALUES (849, '生产工序内容', 1, 'com.ktg.mes.pro.controller.ProProcessContentController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/processcontent', '127.0.0.1', '内网IP', '{\"contentId\":203,\"contentText\":\"说明01\",\"orderNum\":1,\"remark\":\"备注01\",\"params\":{},\"material\":\"材料01\",\"createTime\":1661918549473,\"processId\":203,\"docUrl\":\"URL01\",\"device\":\"设备01\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:02:03');
INSERT INTO `sys_oper_log` VALUES (850, '生产工序内容', 1, 'com.ktg.mes.pro.controller.ProProcessContentController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/processcontent', '127.0.0.1', '内网IP', '{\"contentId\":204,\"contentText\":\"说明02\",\"orderNum\":2,\"remark\":\"备注02\",\"params\":{},\"material\":\"材料02\",\"createTime\":1661918578654,\"processId\":203,\"docUrl\":\"URL02\",\"device\":\"设备02\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:02:33');
INSERT INTO `sys_oper_log` VALUES (851, '生产工序', 2, 'com.ktg.mes.pro.controller.ProProcessController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/process', '127.0.0.1', '内网IP', '{\"remark\":\"备注02\",\"updateTime\":1661918581468,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661918506000,\"processId\":203,\"processName\":\"工序名称02\",\"updateBy\":\"\",\"processCode\":\"PROCESS002\",\"attention\":\"工序说明02\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:02:35');
INSERT INTO `sys_oper_log` VALUES (852, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ROUTE_CODE', '127.0.0.1', '内网IP', '{ruleCode=ROUTE_CODE}', NULL, 1, '未获取到指定类型:[ROUTE_CODE]的业务编码生成规则', '2022-08-31 12:02:46');
INSERT INTO `sys_oper_log` VALUES (853, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"ROUTE_CODE\",\"createBy\":\"admin\",\"ruleName\":\"工艺流程编码规则\",\"enableFlag\":\"Y\",\"maxLength\":5}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:03:31');
INSERT INTO `sys_oper_log` VALUES (854, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":1,\"fixCharacter\":\"R\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":219,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:04:12');
INSERT INTO `sys_oper_log` VALUES (855, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"seriaStep\":1,\"seriaStartNo\":1000,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":219,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:04:57');
INSERT INTO `sys_oper_log` VALUES (856, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ROUTE_CODE', '127.0.0.1', '内网IP', '{ruleCode=ROUTE_CODE}', '\"R1000\"', 0, NULL, '2022-08-31 12:05:14');
INSERT INTO `sys_oper_log` VALUES (857, '工艺路线', 1, 'com.ktg.mes.pro.controller.ProRouteController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"R1000\",\"remark\":\"备注01\",\"params\":{},\"routeDesc\":\"说明01\",\"routeName\":\"工艺路线\",\"routeId\":201,\"createTime\":1661918774398,\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:05:48');
INSERT INTO `sys_oper_log` VALUES (858, '工艺路线', 3, 'com.ktg.mes.pro.controller.ProRouteController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/pro/proroute/200', '127.0.0.1', '内网IP', '{routeIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:06:06');
INSERT INTO `sys_oper_log` VALUES (859, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ROUTE_CODE', '127.0.0.1', '内网IP', '{ruleCode=ROUTE_CODE}', '\"R1001\"', 0, NULL, '2022-08-31 12:06:09');
INSERT INTO `sys_oper_log` VALUES (860, '工艺路线', 1, 'com.ktg.mes.pro.controller.ProRouteController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"R1001\",\"remark\":\"备注02\",\"params\":{},\"routeDesc\":\"说明02\",\"routeName\":\"工艺路线\",\"routeId\":202,\"createTime\":1661918815493,\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:06:29');
INSERT INTO `sys_oper_log` VALUES (861, '工艺组成', 1, 'com.ktg.mes.pro.controller.ProRouteProcessController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeprocess', '127.0.0.1', '内网IP', '{\"defaultPreTime\":0,\"orderNum\":1,\"nextProcessName\":\"无\",\"params\":{},\"recordId\":202,\"routeId\":202,\"createTime\":1661918899586,\"processId\":202,\"processName\":\"工序名称01\",\"processCode\":\"PROCESS001\",\"nextProcessId\":0,\"colorCode\":\"#00AEF3\",\"linkType\":\"FS\",\"defaultSufTime\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:07:54');
INSERT INTO `sys_oper_log` VALUES (862, '工艺路线', 2, 'com.ktg.mes.pro.controller.ProRouteController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"R1001\",\"remark\":\"备注02\",\"updateTime\":1661918912692,\"params\":{},\"routeDesc\":\"说明02\",\"attr4\":0,\"attr3\":0,\"routeName\":\"工艺路线\",\"createBy\":\"\",\"routeId\":202,\"createTime\":1661918815000,\"updateBy\":\"\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:08:07');
INSERT INTO `sys_oper_log` VALUES (863, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSHOP_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSHOP_CODE}', NULL, 1, '规则：[WORKSHOP_CODE]生成的编码为空！', '2022-08-31 12:08:24');
INSERT INTO `sys_oper_log` VALUES (864, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"WS\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":204,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:09:19');
INSERT INTO `sys_oper_log` VALUES (865, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"ruleId\":204,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:09:50');
INSERT INTO `sys_oper_log` VALUES (866, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSHOP_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSHOP_CODE}', '\"WS001\"', 0, NULL, '2022-08-31 12:10:31');
INSERT INTO `sys_oper_log` VALUES (867, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSHOP_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSHOP_CODE}', '\"WS002\"', 0, NULL, '2022-08-31 12:10:45');
INSERT INTO `sys_oper_log` VALUES (868, '车间', 1, 'com.ktg.mes.md.controller.MdWorkshopController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workshop', '127.0.0.1', '内网IP', '{\"area\":0,\"charge\":\"测试负责人\",\"workshopName\":\"测试车间\",\"params\":{},\"createTime\":1661919088306,\"workshopId\":203,\"workshopCode\":\"WS002\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:11:02');
INSERT INTO `sys_oper_log` VALUES (869, '车间', 2, 'com.ktg.mes.md.controller.MdWorkshopController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workshop', '127.0.0.1', '内网IP', '{\"area\":100,\"charge\":\"测试负责人\",\"workshopName\":\"测试车间\",\"remark\":\"\",\"updateTime\":1661919098868,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661919088000,\"updateBy\":\"\",\"workshopId\":203,\"workshopCode\":\"WS002\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:11:13');
INSERT INTO `sys_oper_log` VALUES (870, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSTATION_CODE}', '\"WS0004\"', 0, NULL, '2022-08-31 12:11:23');
INSERT INTO `sys_oper_log` VALUES (871, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00009\"', 0, NULL, '2022-08-31 12:11:39');
INSERT INTO `sys_oper_log` VALUES (872, '物料管理', 1, 'com.ktg.mes.md.controller.MdItemController.add()', 'POST', 1, 'admin', NULL, '/mes/md/mditem', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"itemCode\":\"C00009\",\"itemTypeCode\":\"ITEM_TYPE_01\",\"specification\":\"型号01\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":203,\"createBy\":\"admin\",\"itemName\":\"产品01\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":201,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:12:00');
INSERT INTO `sys_oper_log` VALUES (873, '产品制程', 1, 'com.ktg.mes.pro.controller.ProRouteProductController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"itemCode\":\"C00009\",\"specification\":\"型号01\",\"params\":{},\"recordId\":201,\"itemId\":203,\"itemName\":\"产品01\",\"routeId\":202,\"createTime\":1661919176422}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:12:30');
INSERT INTO `sys_oper_log` VALUES (874, '产品制程', 1, 'com.ktg.mes.pro.controller.ProRouteProductController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/routeproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"itemCode\":\"C00009\",\"specification\":\"型号01\",\"params\":{},\"itemId\":203,\"itemName\":\"产品01\",\"routeId\":202}', '{\"msg\":\"此产品已配置了工艺路线！\",\"code\":500}', 0, NULL, '2022-08-31 12:13:03');
INSERT INTO `sys_oper_log` VALUES (875, '工艺路线', 2, 'com.ktg.mes.pro.controller.ProRouteController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/proroute', '127.0.0.1', '内网IP', '{\"routeCode\":\"R1001\",\"remark\":\"备注02\",\"updateTime\":1661919227449,\"params\":{},\"routeDesc\":\"说明02\",\"attr4\":0,\"attr3\":0,\"routeName\":\"工艺路线\",\"createBy\":\"\",\"routeId\":202,\"createTime\":1661918815000,\"updateBy\":\"\",\"enableFlag\":\"Y\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:13:21');
INSERT INTO `sys_oper_log` VALUES (876, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ROUTE_CODE', '127.0.0.1', '内网IP', '{ruleCode=ROUTE_CODE}', '\"R1002\"', 0, NULL, '2022-08-31 12:13:30');
INSERT INTO `sys_oper_log` VALUES (877, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKSTATION_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKSTATION_CODE}', '\"WS0005\"', 0, NULL, '2022-08-31 12:13:37');
INSERT INTO `sys_oper_log` VALUES (878, '设备资源', 1, 'com.ktg.mes.md.controller.MdWorkstationMachineController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstationmachine', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"remark\":\"备注\",\"updateTime\":1661860252000,\"params\":{},\"attr4\":0,\"attr3\":0,\"recordId\":200,\"createBy\":\"\",\"createTime\":1661919258325,\"updateBy\":\"\",\"workstationId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:13:52');
INSERT INTO `sys_oper_log` VALUES (879, '人力资源', 1, 'com.ktg.mes.md.controller.MdWorkstationWorkerController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstationworker', '127.0.0.1', '内网IP', '{\"quantity\":2,\"postId\":4,\"params\":{},\"recordId\":201,\"createTime\":1661919279754,\"postName\":\"普通员工\",\"workstationId\":202,\"postCode\":\"user\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:14:14');
INSERT INTO `sys_oper_log` VALUES (880, '人力资源', 1, 'com.ktg.mes.md.controller.MdWorkstationWorkerController.add()', 'POST', 1, 'admin', NULL, '/mes/md/workstationworker', '127.0.0.1', '内网IP', '{\"quantity\":2,\"postId\":3,\"params\":{},\"recordId\":202,\"createTime\":1661919284563,\"postName\":\"人力资源\",\"workstationId\":202,\"postCode\":\"hr\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 12:14:18');
INSERT INTO `sys_oper_log` VALUES (881, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站02\",\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS0001\",\"createTime\":1661655118000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":202,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料站02\"}', NULL, 1, '', '2022-08-31 12:14:43');
INSERT INTO `sys_oper_log` VALUES (882, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站02\",\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS0001\",\"createTime\":1661655118000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":202,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料站02\"}', NULL, 1, '', '2022-08-31 12:14:47');
INSERT INTO `sys_oper_log` VALUES (883, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站02\",\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS0001\",\"createTime\":1661655118000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":202,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料站02\"}', NULL, 1, '', '2022-08-31 12:14:48');
INSERT INTO `sys_oper_log` VALUES (884, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站02\",\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS0001\",\"createTime\":1661655118000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":202,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料站02\"}', NULL, 1, '', '2022-08-31 14:17:38');
INSERT INTO `sys_oper_log` VALUES (885, '工作站', 2, 'com.ktg.mes.md.controller.MdWorkstationController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/workstation', '127.0.0.1', '内网IP', '{\"workshopName\":\"配料车间\",\"workstationName\":\"配料站02\",\"remark\":\"\",\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"workstationCode\":\"WS0001\",\"createTime\":1661655118000,\"processId\":200,\"processName\":\"配料工序\",\"updateBy\":\"\",\"processCode\":\"GX001\",\"workstationId\":202,\"workshopId\":201,\"workshopCode\":\"PL001\",\"enableFlag\":\"Y\",\"workstationAddress\":\"配料站02\"}', NULL, 1, '\r\n### Error querying database.  Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet successfully received from the server was 7,058,166 milliseconds ago. The last packet sent successfully to the server was 7,058,177 milliseconds ago.\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\md\\MdWorkstationMapper.xml]\r\n### The error may involve com.ktg.mes.md.mapper.MdWorkstationMapper.checkWorkStationCodeUnique-Inline\r\n### The error occurred while setting parameters\r\n### SQL: select workstation_id, workstation_code, workstation_name, workstation_address, workshop_id, workshop_code, workshop_name, process_id, process_code, process_name, enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from md_workstation               where workstation_code = ? limit 1\r\n### Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet successfully received from the server was 7,058,166 milliseconds ago. The last packet sent successfully to the server was 7,058,177 milliseconds ago.\n; Communications link failure\n\nThe last packet successfully received from the server was 7,058,166 milliseconds ago. The last packet sent successfully to the server was 7,058,177 milliseconds ago.; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet successfully received from the server was 7,058,166 milliseconds ago. The last packet sent successfully to the server was 7,058,177 milliseconds ago.', '2022-08-31 14:17:38');
INSERT INTO `sys_oper_log` VALUES (886, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEMRECPT_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEMRECPT_CODE}', '\"R20220831001\"', 0, NULL, '2022-08-31 14:56:17');
INSERT INTO `sys_oper_log` VALUES (887, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEMRECPT_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEMRECPT_CODE}', '\"R20220831002\"', 0, NULL, '2022-08-31 14:57:32');
INSERT INTO `sys_oper_log` VALUES (888, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00010\"', 0, NULL, '2022-08-31 17:05:17');
INSERT INTO `sys_oper_log` VALUES (889, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00011\"', 0, NULL, '2022-08-31 17:05:57');
INSERT INTO `sys_oper_log` VALUES (890, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.execute()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt/200', '127.0.0.1', '内网IP', '200', NULL, 1, '\r\n### Error querying database.  Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock\n     \n         WHERE  item_id = ?\n             and unit_of_measure = ?\n             and batch_code = ?\n             and warehouse_id = ?\n             and location_id = ?\n            \n             and vendor_id = ? \n        and 1=1 limit 1\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\wm\\WmMaterialStockMapper.xml]\r\n### The error may involve com.ktg.mes.wm.mapper.WmMaterialStockMapper.loadMaterialStock\r\n### The error occurred while executing a query\r\n### SQL: select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock                WHERE  item_id = ?              and unit_of_measure = ?              and batch_code = ?              and warehouse_id = ?              and location_id = ?                           and vendor_id = ?          and 1=1 limit 1\r\n### Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, ware', '2022-08-31 17:21:20');
INSERT INTO `sys_oper_log` VALUES (891, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', '\"MO202208310001\"', 0, NULL, '2022-08-31 17:48:11');
INSERT INTO `sys_oper_log` VALUES (892, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', '\"MO202208310002\"', 0, NULL, '2022-08-31 17:48:38');
INSERT INTO `sys_oper_log` VALUES (893, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"测试客户\",\"productSpc\":\"A020\",\"productName\":\"A020\",\"sourceCode\":\"100000111\",\"workorderId\":203,\"children\":[],\"workorderName\":\"测试工单\",\"requestDate\":1662739200000,\"ancestors\":\"0\",\"orderSource\":\"ORDER\",\"clientId\":201,\"quantity\":1100,\"productId\":201,\"unitOfMeasure\":\"KG\",\"params\":{},\"parentId\":0,\"productCode\":\"C00003\",\"workorderCode\":\"MO202208310002\",\"createTime\":1661939393917,\"clientCode\":\"C00034\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":203}', 0, NULL, '2022-08-31 17:49:29');
INSERT INTO `sys_oper_log` VALUES (894, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"测试客户\",\"productSpc\":\"A020\",\"productName\":\"A020\",\"sourceCode\":\"100000111\",\"workorderId\":203,\"children\":[],\"workorderName\":\"测试工单\",\"requestDate\":1662739200000,\"orderSource\":\"ORDER\",\"clientId\":201,\"quantity\":1100,\"productId\":201,\"unitOfMeasure\":\"KG\",\"updateTime\":1661939404541,\"params\":{},\"parentId\":0,\"productCode\":\"C00003\",\"workorderCode\":\"MO202208310002\",\"clientCode\":\"C00034\",\"status\":\"CONFIRMED\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:49:39');
INSERT INTO `sys_oper_log` VALUES (895, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', '\"MO202208310003\"', 0, NULL, '2022-08-31 17:50:26');
INSERT INTO `sys_oper_log` VALUES (896, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"测试客户\",\"productSpc\":\"是是是\",\"productName\":\"121111\",\"workorderId\":204,\"children\":[],\"workorderName\":\"测试工单02\",\"requestDate\":1662652800000,\"ancestors\":\"0\",\"orderSource\":\"ORDER\",\"clientId\":201,\"quantity\":1,\"productId\":202,\"unitOfMeasure\":\"00\",\"params\":{},\"parentId\":0,\"productCode\":\"C00008\",\"workorderCode\":\"MO202208310003\",\"createTime\":1661939452572,\"clientCode\":\"C00034\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":204}', 0, NULL, '2022-08-31 17:50:27');
INSERT INTO `sys_oper_log` VALUES (897, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', '\"MO202208310004\"', 0, NULL, '2022-08-31 17:50:57');
INSERT INTO `sys_oper_log` VALUES (898, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"productSpc\":\"型号01\",\"productName\":\"产品01\",\"workorderId\":205,\"children\":[],\"workorderName\":\"测试工单003\",\"requestDate\":1662566400000,\"ancestors\":\"0\",\"orderSource\":\"STORE\",\"quantity\":1,\"productId\":203,\"unitOfMeasure\":\"00\",\"params\":{},\"parentId\":0,\"productCode\":\"C00009\",\"workorderCode\":\"MO202208310004\",\"createTime\":1661939509994,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":205}', 0, NULL, '2022-08-31 17:51:24');
INSERT INTO `sys_oper_log` VALUES (899, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', '\"MO202208310005\"', 0, NULL, '2022-08-31 17:51:47');
INSERT INTO `sys_oper_log` VALUES (900, '生产工单', 1, 'com.ktg.mes.pro.controller.ProWorkorderController.add()', 'POST', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"测试客户\",\"productSpc\":\"A020\",\"productName\":\"A020\",\"sourceCode\":\"100000111\",\"workorderId\":206,\"children\":[],\"workorderName\":\"测试工单+新增\",\"requestDate\":1662480000000,\"ancestors\":\"0,0\",\"orderSource\":\"ORDER\",\"clientId\":201,\"quantity\":1,\"productId\":201,\"unitOfMeasure\":\"KG\",\"params\":{},\"parentId\":203,\"productCode\":\"C00003\",\"workorderCode\":\"MO202208310005\",\"createTime\":1661939563627,\"clientCode\":\"C00034\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":206}', 0, NULL, '2022-08-31 17:52:18');
INSERT INTO `sys_oper_log` VALUES (901, '生产工单', 2, 'com.ktg.mes.pro.controller.ProWorkorderController.edit()', 'PUT', 1, 'admin', NULL, '/mes/pro/workorder', '127.0.0.1', '内网IP', '{\"clientName\":\"测试客户\",\"productSpc\":\"A020\",\"productName\":\"A020\",\"sourceCode\":\"100000111\",\"workorderId\":206,\"children\":[],\"workorderName\":\"测试工单+新增\",\"requestDate\":1662480000000,\"orderSource\":\"ORDER\",\"clientId\":201,\"quantity\":1,\"productId\":201,\"unitOfMeasure\":\"KG\",\"updateTime\":1661939567817,\"params\":{},\"parentId\":203,\"productCode\":\"C00003\",\"workorderCode\":\"MO202208310005\",\"clientCode\":\"C00034\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:52:22');
INSERT INTO `sys_oper_log` VALUES (902, '常见缺陷', 1, 'com.ktg.mes.qc.controller.QcDefectController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qcdefect', '127.0.0.1', '内网IP', '{\"defectName\":\"测试缺陷\",\"params\":{},\"indexType\":\"SIZE\",\"defectLevel\":\"CR\"}', NULL, 1, '未获取到指定类型:[DEFECT_CODE]的业务编码生成规则', '2022-08-31 17:54:13');
INSERT INTO `sys_oper_log` VALUES (903, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/qc/qcdefect', '127.0.0.1', '内网IP', 'DEFECT_CODE', NULL, 1, '未获取到指定类型:[DEFECT_CODE]的业务编码生成规则', '2022-08-31 17:54:13');
INSERT INTO `sys_oper_log` VALUES (904, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"DEFECT_CODE\",\"createBy\":\"admin\",\"ruleName\":\"常见缺陷编码\",\"enableFlag\":\"Y\",\"maxLength\":5}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:56:42');
INSERT INTO `sys_oper_log` VALUES (905, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":2,\"fixCharacter\":\"DF\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":220,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:57:16');
INSERT INTO `sys_oper_log` VALUES (906, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":2,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"N\",\"ruleId\":220,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:57:52');
INSERT INTO `sys_oper_log` VALUES (907, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'POST', 1, 'admin', NULL, '/mes/qc/qcdefect', '127.0.0.1', '内网IP', 'DEFECT_CODE', '\"DF001\"', 0, NULL, '2022-08-31 17:58:12');
INSERT INTO `sys_oper_log` VALUES (908, '常见缺陷', 1, 'com.ktg.mes.qc.controller.QcDefectController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qcdefect', '127.0.0.1', '内网IP', '{\"defectName\":\"缺陷描述\",\"params\":{},\"defectCode\":\"DF001\",\"indexType\":\"WEIGHT\",\"createTime\":1661939917110,\"defectLevel\":\"CR\",\"defectId\":200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:58:12');
INSERT INTO `sys_oper_log` VALUES (909, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_INDEX_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_INDEX_CODE}', '\"I0003\"', 0, NULL, '2022-08-31 17:58:19');
INSERT INTO `sys_oper_log` VALUES (910, '检测项', 1, 'com.ktg.mes.qc.controller.QcIndexController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qcindex', '127.0.0.1', '内网IP', '{\"qcTool\":\"检测工具\",\"indexName\":\"测试检测项\",\"indexCode\":\"I0003\",\"remark\":\"备注\",\"params\":{},\"indexType\":\"APPEARANCE\",\"createTime\":1661939956921,\"indexId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:58:51');
INSERT INTO `sys_oper_log` VALUES (911, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_TEMPLATE_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_TEMPLATE_CODE}', NULL, 1, '未获取到指定类型:[QC_TEMPLATE_CODE]的业务编码生成规则', '2022-08-31 17:58:59');
INSERT INTO `sys_oper_log` VALUES (912, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"QC_TEMPLATE_CODE\",\"createBy\":\"admin\",\"ruleName\":\"检测模板编码规则\",\"enableFlag\":\"Y\",\"maxLength\":10}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 17:59:36');
INSERT INTO `sys_oper_log` VALUES (913, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"fixCharacter\":\"QCT\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":221,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:00:10');
INSERT INTO `sys_oper_log` VALUES (914, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"dateFormat\":\"yyyy\",\"partCode\":\"YEAR\",\"params\":{},\"partIndex\":2,\"partName\":\"年份\",\"createBy\":\"admin\",\"ruleId\":221,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:00:35');
INSERT INTO `sys_oper_log` VALUES (915, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"YEAR\",\"ruleId\":221,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:01:23');
INSERT INTO `sys_oper_log` VALUES (916, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/QC_TEMPLATE_CODE', '127.0.0.1', '内网IP', '{ruleCode=QC_TEMPLATE_CODE}', '\"QCT2022001\"', 0, NULL, '2022-08-31 18:01:42');
INSERT INTO `sys_oper_log` VALUES (917, '检测模板', 1, 'com.ktg.mes.qc.controller.QcTemplateController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/qctemplate', '127.0.0.1', '内网IP', '{\"templateCode\":\"QCT2022001\",\"params\":{},\"templateId\":201,\"qcTypes\":\"FQC\",\"createTime\":1661940148242,\"templateName\":\"测试c名称\",\"enableFlag\":\"Y\",\"qcTypesParam\":[\"FQC\"]}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:02:03');
INSERT INTO `sys_oper_log` VALUES (918, '检测模板-检测项', 1, 'com.ktg.mes.qc.controller.QcTemplateIndexController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/templateindex', '127.0.0.1', '内网IP', '{\"qcTool\":\"检测工具\",\"unitOfMeasure\":\"00\",\"indexName\":\"测试检测项\",\"checkMethod\":\"检测要求\",\"indexCode\":\"I0003\",\"params\":{},\"templateId\":201,\"thresholdMax\":2,\"recordId\":201,\"indexType\":\"APPEARANCE\",\"thresholdMin\":-2,\"createTime\":1661940188706,\"standerVal\":90,\"indexId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:02:43');
INSERT INTO `sys_oper_log` VALUES (919, '检测模板-检测项', 1, 'com.ktg.mes.qc.controller.QcTemplateIndexController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/templateindex', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"indexName\":\"包装前粘度(25°C)\",\"checkMethod\":\"检测要求\",\"indexCode\":\"I0002\",\"params\":{},\"templateId\":201,\"thresholdMax\":3,\"recordId\":202,\"indexType\":\"COMPONENT\",\"thresholdMin\":-3,\"createTime\":1661940232338,\"standerVal\":100,\"indexId\":201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:03:27');
INSERT INTO `sys_oper_log` VALUES (920, '检测模板-产品', 1, 'com.ktg.mes.qc.controller.QcTemplateProductController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/templateproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"itemCode\":\"C00009\",\"specification\":\"型号01\",\"params\":{},\"templateId\":201,\"recordId\":201,\"itemId\":203,\"itemName\":\"产品01\",\"crRate\":0,\"createTime\":1661940264431,\"quantityCheck\":1,\"quantityUnqualified\":0,\"minRate\":100,\"majRate\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:03:59');
INSERT INTO `sys_oper_log` VALUES (921, '检测模板-产品', 1, 'com.ktg.mes.qc.controller.QcTemplateProductController.add()', 'POST', 1, 'admin', NULL, '/mes/qc/templateproduct', '127.0.0.1', '内网IP', '{\"unitOfMeasure\":\"00\",\"itemCode\":\"C00008\",\"specification\":\"是是是\",\"params\":{},\"templateId\":201,\"recordId\":202,\"itemId\":202,\"itemName\":\"121111\",\"crRate\":0,\"createTime\":1661940282394,\"quantityCheck\":1,\"quantityUnqualified\":0,\"minRate\":100,\"majRate\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:04:17');
INSERT INTO `sys_oper_log` VALUES (922, '物料入库单', 2, 'com.ktg.mes.wm.controller.WmItemRecptController.execute()', 'PUT', 1, 'admin', NULL, '/mes/wm/itemrecpt/200', '127.0.0.1', '内网IP', '200', NULL, 1, '\r\n### Error querying database.  Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock\n     \n         WHERE  item_id = ?\n             and unit_of_measure = ?\n             and batch_code = ?\n             and warehouse_id = ?\n             and location_id = ?\n            \n             and vendor_id = ? \n        and 1=1 limit 1\r\n### The error may exist in file [E:\\gitProject\\xzmes_java_api\\ktg-mes\\target\\classes\\mapper\\wm\\WmMaterialStockMapper.xml]\r\n### The error may involve com.ktg.mes.wm.mapper.WmMaterialStockMapper.loadMaterialStock\r\n### The error occurred while executing a query\r\n### SQL: select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand, expire_date, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock                WHERE  item_id = ?              and unit_of_measure = ?              and batch_code = ?              and warehouse_id = ?              and location_id = ?                           and vendor_id = ?          and 1=1 limit 1\r\n### Cause: java.sql.SQLException: sql injection violation, dbType mysql, druid-version 1.2.8, part alway true condition not allow : select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, ware', '2022-08-31 18:05:28');
INSERT INTO `sys_oper_log` VALUES (923, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WM_RTVENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=WM_RTVENDOR_CODE}', NULL, 1, '未获取到指定类型:[WM_RTVENDOR_CODE]的业务编码生成规则', '2022-08-31 18:09:29');
INSERT INTO `sys_oper_log` VALUES (924, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"WM_RTVENDOR_CODE\",\"createBy\":\"admin\",\"ruleName\":\"供应商退货单编码\",\"enableFlag\":\"Y\",\"maxLength\":14}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:10:10');
INSERT INTO `sys_oper_log` VALUES (925, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"fixCharacter\":\"RTV\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":222,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:10:44');
INSERT INTO `sys_oper_log` VALUES (926, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":8,\"dateFormat\":\"yyyyMMdd\",\"partCode\":\"DATE\",\"params\":{},\"partIndex\":2,\"partName\":\"日期\",\"createBy\":\"admin\",\"ruleId\":222,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:11:29');
INSERT INTO `sys_oper_log` VALUES (927, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"DAY\",\"ruleId\":222,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:12:08');
INSERT INTO `sys_oper_log` VALUES (928, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WM_RTVENDOR_CODE', '127.0.0.1', '内网IP', '{ruleCode=WM_RTVENDOR_CODE}', '\"RTV20220831001\"', 0, NULL, '2022-08-31 18:12:19');
INSERT INTO `sys_oper_log` VALUES (929, '供应商退货', 1, 'com.ktg.mes.wm.controller.WmRtVendorController.add()', 'POST', 1, 'admin', NULL, '/mes/wm/rtvendor', '127.0.0.1', '内网IP', '{\"rtCode\":\"RTV20220831001\",\"batchCode\":\"批次号001\",\"rtId\":200,\"vendorId\":201,\"params\":{},\"vendorName\":\"供应商名称\",\"vendorCode\":\"V00001\",\"vendorNick\":\"供应商简称\",\"createTime\":1661940805969,\"poCode\":\"采购订单编号\",\"rtDate\":1661875200000,\"rtName\":\"退货单名称\",\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:13:00');
INSERT INTO `sys_oper_log` VALUES (930, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/SUBJECT_CODE', '127.0.0.1', '内网IP', '{ruleCode=SUBJECT_CODE}', '\"SUB002\"', 0, NULL, '2022-08-31 18:13:35');
INSERT INTO `sys_oper_log` VALUES (931, '设备点检保养项目', 1, 'com.ktg.mes.dv.controller.DvSubjectController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/dvsubject', '127.0.0.1', '内网IP', '{\"params\":{},\"subjectType\":\"MAINTEN\",\"subjectId\":200,\"subjectContent\":\"项目内容\",\"createTime\":1661940855627,\"enableFlag\":\"Y\",\"subjectCode\":\"SUB002\",\"subjectName\":\"项目名称\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:13:50');
INSERT INTO `sys_oper_log` VALUES (932, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CHECKPLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CHECKPLAN_CODE}', NULL, 1, '未获取到指定类型:[CHECKPLAN_CODE]的业务编码生成规则', '2022-08-31 18:13:56');
INSERT INTO `sys_oper_log` VALUES (933, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CHECKPLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CHECKPLAN_CODE}', NULL, 1, '未获取到指定类型:[CHECKPLAN_CODE]的业务编码生成规则', '2022-08-31 18:15:44');
INSERT INTO `sys_oper_log` VALUES (934, '新增自动编码规则', 1, 'com.ktg.web.controller.system.SysAutoCodeRuleController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/rule', '127.0.0.1', '内网IP', '{\"isPadded\":\"N\",\"params\":{},\"ruleCode\":\"CHECKPLAN_CODE\",\"createBy\":\"admin\",\"ruleName\":\"点检编码规则\",\"enableFlag\":\"Y\",\"maxLength\":11}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:16:41');
INSERT INTO `sys_oper_log` VALUES (935, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"fixCharacter\":\"PLAN\",\"partCode\":\"PREFIX\",\"params\":{},\"partIndex\":1,\"partName\":\"前缀\",\"createBy\":\"admin\",\"ruleId\":223,\"partType\":\"FIXCHAR\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:17:09');
INSERT INTO `sys_oper_log` VALUES (936, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":4,\"dateFormat\":\"yyyy\",\"partCode\":\"YEAR\",\"params\":{},\"partIndex\":2,\"partName\":\"年份\",\"createBy\":\"admin\",\"ruleId\":223,\"partType\":\"NOWDATE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:17:38');
INSERT INTO `sys_oper_log` VALUES (937, '新增编码生产规则组成部分', 1, 'com.ktg.web.controller.system.SysAutoCodePartController.add()', 'POST', 1, 'admin', NULL, '/system/autocode/part', '127.0.0.1', '内网IP', '{\"partLength\":3,\"seriaStep\":1,\"seriaStartNo\":1,\"partCode\":\"SERIAL\",\"params\":{},\"partIndex\":3,\"partName\":\"流水号\",\"createBy\":\"admin\",\"cycleFlag\":\"Y\",\"cycleMethod\":\"YEAR\",\"ruleId\":223,\"partType\":\"SERIALNO\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:18:27');
INSERT INTO `sys_oper_log` VALUES (938, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/CHECKPLAN_CODE', '127.0.0.1', '内网IP', '{ruleCode=CHECKPLAN_CODE}', '\"PLAN2022001\"', 0, NULL, '2022-08-31 18:18:33');
INSERT INTO `sys_oper_log` VALUES (939, '设备点检计划头', 1, 'com.ktg.mes.dv.controller.DvCheckPlanController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checkplan', '127.0.0.1', '内网IP', '{\"planType\":\"CHECK\",\"endDate\":1661875200000,\"planName\":\"计划名称\",\"params\":{},\"planCode\":\"PLAN2022001\",\"cycleType\":\"WEEK\",\"createTime\":1661941165740,\"planId\":200,\"cycleCount\":2,\"startDate\":1659369600000,\"status\":\"PREPARE\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:19:00');
INSERT INTO `sys_oper_log` VALUES (940, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/SUBJECT_CODE', '127.0.0.1', '内网IP', '{ruleCode=SUBJECT_CODE}', '\"SUB003\"', 0, NULL, '2022-08-31 18:19:30');
INSERT INTO `sys_oper_log` VALUES (941, '设备点检保养项目', 1, 'com.ktg.mes.dv.controller.DvSubjectController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/dvsubject', '127.0.0.1', '内网IP', '{\"params\":{},\"subjectType\":\"CHECK\",\"subjectId\":201,\"subjectContent\":\"项目内容\",\"createTime\":1661941210384,\"subjectStandard\":\"标准\",\"enableFlag\":\"Y\",\"subjectCode\":\"SUB003\",\"subjectName\":\"项目名称001\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:19:45');
INSERT INTO `sys_oper_log` VALUES (942, '点检项目', 1, 'com.ktg.mes.dv.controller.DvCheckSubjectController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checksubject', '127.0.0.1', '内网IP', '{\"remark\":\"\",\"params\":{},\"subjectType\":\"CHECK\",\"attr4\":0,\"subjectId\":201,\"attr3\":0,\"recordId\":200,\"createBy\":\"\",\"subjectContent\":\"项目内容\",\"createTime\":1661941225988,\"updateBy\":\"\",\"subjectStandard\":\"标准\",\"planId\":200,\"subjectCode\":\"SUB003\",\"subjectName\":\"项目名称001\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 18:20:01');
INSERT INTO `sys_oper_log` VALUES (943, '点检设备', 1, 'com.ktg.mes.dv.controller.DvCheckMachineryController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checkmachinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661860252000,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"planId\":200,\"machineryBrand\":\"品牌\"}', NULL, 1, 'nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named \'planType\' in \'class com.ktg.mes.dv.domain.DvCheckMachinery\'', '2022-08-31 18:20:06');
INSERT INTO `sys_oper_log` VALUES (944, '设备点检计划头', 2, 'com.ktg.mes.dv.controller.DvCheckPlanController.edit()', 'PUT', 1, 'admin', NULL, '/mes/dv/checkplan', '127.0.0.1', '内网IP', '{\"planType\":\"CHECK\",\"endDate\":1661875200000,\"planName\":\"计划名称\",\"remark\":\"\",\"params\":{},\"attr4\":0,\"planCode\":\"PLAN2022001\",\"attr3\":0,\"cycleType\":\"WEEK\",\"createBy\":\"\",\"createTime\":1661941166000,\"updateBy\":\"\",\"planId\":200,\"cycleCount\":2,\"startDate\":1659369600000,\"status\":\"FINISHED\"}', '{\"msg\":\"请指定设备!\",\"code\":500}', 0, NULL, '2022-08-31 18:20:15');
INSERT INTO `sys_oper_log` VALUES (945, '点检设备', 1, 'com.ktg.mes.dv.controller.DvCheckMachineryController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checkmachinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661860252000,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"planId\":200,\"machineryBrand\":\"品牌\"}', NULL, 1, 'nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named \'planType\' in \'class com.ktg.mes.dv.domain.DvCheckMachinery\'', '2022-08-31 18:20:24');
INSERT INTO `sys_oper_log` VALUES (946, '点检设备', 1, 'com.ktg.mes.dv.controller.DvCheckMachineryController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checkmachinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661860252000,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"planId\":200,\"machineryBrand\":\"品牌\"}', NULL, 1, 'nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named \'planType\' in \'class com.ktg.mes.dv.domain.DvCheckMachinery\'', '2022-08-31 18:20:32');
INSERT INTO `sys_oper_log` VALUES (947, '点检设备', 1, 'com.ktg.mes.dv.controller.DvCheckMachineryController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checkmachinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661860252000,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"planId\":200,\"machineryBrand\":\"品牌\"}', NULL, 1, 'nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named \'planType\' in \'class com.ktg.mes.dv.domain.DvCheckMachinery\'', '2022-08-31 18:20:41');
INSERT INTO `sys_oper_log` VALUES (948, '点检设备', 1, 'com.ktg.mes.dv.controller.DvCheckMachineryController.add()', 'POST', 1, 'admin', NULL, '/mes/dv/checkmachinery', '127.0.0.1', '内网IP', '{\"machineryCode\":\"M0001\",\"machineryId\":200,\"machineryName\":\"01号扫描枪\",\"machinerySpec\":\"规格型号\",\"remark\":\"备注\",\"updateTime\":1661860252000,\"params\":{},\"attr4\":0,\"attr3\":0,\"createBy\":\"\",\"createTime\":1661859356000,\"updateBy\":\"\",\"planId\":200,\"machineryBrand\":\"品牌\"}', NULL, 1, 'nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named \'planType\' in \'class com.ktg.mes.dv.domain.DvCheckMachinery\'', '2022-08-31 18:21:14');
INSERT INTO `sys_oper_log` VALUES (949, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/WORKORDER_CODE', '127.0.0.1', '内网IP', '{ruleCode=WORKORDER_CODE}', '\"MO202208310006\"', 0, NULL, '2022-08-31 18:37:13');
INSERT INTO `sys_oper_log` VALUES (950, '代码生成', 6, 'com.ktg.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', NULL, '/tool/gen/importTable', '127.0.0.1', '内网IP', 'mes_scales_order_item,mes_scales_order', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:22:54');
INSERT INTO `sys_oper_log` VALUES (951, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-31 19:24:22');
INSERT INTO `sys_oper_log` VALUES (952, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-31 19:24:34');
INSERT INTO `sys_oper_log` VALUES (953, '字典类型', 1, 'com.ktg.web.controller.system.SysDictTypeController.add()', 'POST', 1, 'admin', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"admin\",\"dictName\":\"销售订单状态\",\"params\":{},\"dictType\":\"mes_scales_order_status\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:27:12');
INSERT INTO `sys_oper_log` VALUES (954, '字典数据', 1, 'com.ktg.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"50\",\"listClass\":\"default\",\"dictSort\":0,\"params\":{},\"dictType\":\"mes_scales_order_status\",\"dictLabel\":\"意向下单\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:28:46');
INSERT INTO `sys_oper_log` VALUES (955, '字典数据', 1, 'com.ktg.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"100\",\"listClass\":\"default\",\"dictSort\":1,\"params\":{},\"dictType\":\"mes_scales_order_status\",\"dictLabel\":\"未交定金\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:30:05');
INSERT INTO `sys_oper_log` VALUES (956, '字典数据', 1, 'com.ktg.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"150\",\"listClass\":\"default\",\"dictSort\":2,\"params\":{},\"dictType\":\"mes_scales_order_status\",\"dictLabel\":\"已交定金\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:30:29');
INSERT INTO `sys_oper_log` VALUES (957, '字典数据', 1, 'com.ktg.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"200\",\"listClass\":\"default\",\"dictSort\":3,\"params\":{},\"dictType\":\"mes_scales_order_status\",\"dictLabel\":\"开始生产\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:30:59');
INSERT INTO `sys_oper_log` VALUES (958, '字典数据', 1, 'com.ktg.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"250\",\"listClass\":\"default\",\"dictSort\":4,\"params\":{},\"dictType\":\"mes_scales_order_status\",\"dictLabel\":\"生产完成\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:31:13');
INSERT INTO `sys_oper_log` VALUES (959, '代码生成', 3, 'com.ktg.generator.controller.GenController.remove()', 'DELETE', 1, 'admin', NULL, '/tool/gen/14', '127.0.0.1', '内网IP', '{tableIds=14}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:35:48');
INSERT INTO `sys_oper_log` VALUES (960, '代码生成', 6, 'com.ktg.generator.controller.GenController.importTableSave()', 'POST', 1, 'admin', NULL, '/tool/gen/importTable', '127.0.0.1', '内网IP', 'mes_scales_order_item', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:39:41');
INSERT INTO `sys_oper_log` VALUES (961, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":true,\"subTableName\":\"mes_scales_order_item\",\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"ScalesOrderId\",\"usableColumn\":false,\"columnId\":289,\"isIncrement\":\"1\",\"increment\":true,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"scalesOrderId\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"销售订单ID\",\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"Long\",\"queryType\":\"EQ\",\"columnType\":\"bigint\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661944973000,\"tableId\":13,\"pk\":true,\"columnName\":\"scales_order_id\"},{\"capJavaField\":\"ScalesOrderCode\",\"usableColumn\":false,\"columnId\":290,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"scalesOrderCode\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"销售订单编码\",\"isQuery\":\"1\",\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(64)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661944973000,\"isEdit\":\"1\",\"tableId\":13,\"pk\":false,\"columnName\":\"scales_order_code\"},{\"capJavaField\":\"ScalesOrderName\",\"usableColumn\":false,\"columnId\":291,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"scalesOrderName\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"销售订单名称\",\"isQuery\":\"1\",\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(255)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661944973000,\"isEdit\":\"1\",\"tableId\":13,\"pk\":false,\"columnName\":\"scales_order_name\"},{\"capJavaField\":\"ClientId\",\"usableColumn\":false,\"columnId\":292,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"clientId\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"co', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 19:41:31');
INSERT INTO `sys_oper_log` VALUES (962, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-31 19:41:38');
INSERT INTO `sys_oper_log` VALUES (963, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-31 19:45:18');
INSERT INTO `sys_oper_log` VALUES (964, '菜单管理', 1, 'com.ktg.web.controller.system.SysMenuController.add()', 'POST', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"dict\",\"orderNum\":6,\"menuName\":\"销售订单\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"11\",\"component\":\"11\",\"createBy\":\"admin\",\"children\":[],\"isFrame\":\"1\",\"menuType\":\"C\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 20:06:44');
INSERT INTO `sys_oper_log` VALUES (965, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"dict\",\"orderNum\":6,\"menuName\":\"销售订单\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"order\",\"component\":\"mes/md/order/index\",\"children\":[],\"createTime\":1661947604000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2211,\"menuType\":\"C\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 20:07:49');
INSERT INTO `sys_oper_log` VALUES (966, '菜单管理', 2, 'com.ktg.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"dict\",\"orderNum\":6,\"menuName\":\"销售订单\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"order\",\"component\":\"mes/md/order/index\",\"children\":[],\"createTime\":1661947604000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2211,\"menuType\":\"C\",\"perms\":\"mes:md:order\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 20:08:15');
INSERT INTO `sys_oper_log` VALUES (967, '菜单管理', 1, 'com.ktg.web.controller.system.SysMenuController.add()', 'POST', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"orderNum\":1,\"menuName\":\"销售订单列表\",\"params\":{},\"parentId\":2211,\"isCache\":\"0\",\"createBy\":\"admin\",\"children\":[],\"isFrame\":\"1\",\"menuType\":\"F\",\"perms\":\"mes:md:order:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 20:12:40');
INSERT INTO `sys_oper_log` VALUES (968, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"clientId\":7845,\"clientName\":\"854\",\"orderStatus\":\"0\",\"scalesOrderCode\":\"12222\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"4555\",\"createTime\":1661951976347,\"clientCode\":\"68231\",\"billStatus\":\"0\",\"requestDate\":1661184000000,\"deposit\":30000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:19:11');
INSERT INTO `sys_oper_log` VALUES (969, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":true,\"subTableName\":\"mes_scales_order_item\",\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"ScalesOrderId\",\"usableColumn\":false,\"columnId\":289,\"isIncrement\":\"1\",\"increment\":true,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"scalesOrderId\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"销售订单ID\",\"updateTime\":1661946090000,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"Long\",\"queryType\":\"EQ\",\"columnType\":\"bigint\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661944973000,\"tableId\":13,\"pk\":true,\"columnName\":\"scales_order_id\"},{\"capJavaField\":\"ScalesOrderCode\",\"usableColumn\":false,\"columnId\":290,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"scalesOrderCode\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"销售订单编码\",\"isQuery\":\"1\",\"updateTime\":1661946090000,\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(64)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661944973000,\"isEdit\":\"1\",\"tableId\":13,\"pk\":false,\"columnName\":\"scales_order_code\"},{\"capJavaField\":\"ScalesOrderName\",\"usableColumn\":false,\"columnId\":291,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"scalesOrderName\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"销售订单名称\",\"isQuery\":\"1\",\"updateTime\":1661946090000,\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(255)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661944973000,\"isEdit\":\"1\",\"tableId\":13,\"pk\":false,\"columnName\":\"scales_order_name\"},{\"capJavaField\":\"ClientId\",\"usableColumn\":false,\"columnId\":292,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isI', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 21:20:33');
INSERT INTO `sys_oper_log` VALUES (970, '代码生成', 2, 'com.ktg.generator.controller.GenController.editSave()', 'PUT', 1, 'admin', NULL, '/tool/gen', '127.0.0.1', '内网IP', '{\"sub\":true,\"subTableName\":\"mes_scales_order_item\",\"functionAuthor\":\"byteco\",\"columns\":[{\"capJavaField\":\"ScalesOrderId\",\"usableColumn\":false,\"columnId\":289,\"isIncrement\":\"1\",\"increment\":true,\"insert\":true,\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"javaField\":\"scalesOrderId\",\"htmlType\":\"input\",\"edit\":false,\"query\":false,\"columnComment\":\"销售订单ID\",\"updateTime\":1661952032000,\"sort\":1,\"list\":false,\"params\":{},\"javaType\":\"Long\",\"queryType\":\"EQ\",\"columnType\":\"bigint\",\"createBy\":\"admin\",\"isPk\":\"1\",\"createTime\":1661944973000,\"tableId\":13,\"pk\":true,\"columnName\":\"scales_order_id\"},{\"capJavaField\":\"ScalesOrderCode\",\"usableColumn\":false,\"columnId\":290,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"scalesOrderCode\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"销售订单编码\",\"isQuery\":\"1\",\"updateTime\":1661952032000,\"sort\":2,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"EQ\",\"columnType\":\"varchar(64)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661944973000,\"isEdit\":\"1\",\"tableId\":13,\"pk\":false,\"columnName\":\"scales_order_code\"},{\"capJavaField\":\"ScalesOrderName\",\"usableColumn\":false,\"columnId\":291,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":true,\"superColumn\":false,\"updateBy\":\"\",\"isInsert\":\"1\",\"isRequired\":\"1\",\"javaField\":\"scalesOrderName\",\"htmlType\":\"input\",\"edit\":true,\"query\":true,\"columnComment\":\"销售订单名称\",\"isQuery\":\"1\",\"updateTime\":1661952032000,\"sort\":3,\"list\":true,\"params\":{},\"javaType\":\"String\",\"queryType\":\"LIKE\",\"columnType\":\"varchar(255)\",\"createBy\":\"admin\",\"isPk\":\"0\",\"createTime\":1661944973000,\"isEdit\":\"1\",\"tableId\":13,\"pk\":false,\"columnName\":\"scales_order_name\"},{\"capJavaField\":\"ClientId\",\"usableColumn\":false,\"columnId\":292,\"isIncrement\":\"0\",\"increment\":false,\"insert\":true,\"isList\":\"1\",\"dictType\":\"\",\"required\":false,\"superColumn\":false,\"updateBy\":\"\",\"isI', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-08-31 21:20:50');
INSERT INTO `sys_oper_log` VALUES (971, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"15222\",\"mesScalesOrderItemList\":[{\"explain\":\"\",\"clientName\":\"\",\"scalesOrderItemCode\":\"\",\"orderStatus\":\"\",\"remark\":\"\",\"productSpc\":\"\",\"productName\":\"\",\"ancestors\":\"\",\"unitOfMeasure\":\"\",\"attr2\":\"\",\"params\":{},\"attr1\":\"\",\"productCode\":\"\",\"clientCode\":\"\",\"status\":\"\"}],\"params\":{},\"scalesOrderName\":\"444\",\"createTime\":1661952141391,\"billStatus\":\"0\",\"requestDate\":1661788800000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:21:56');
INSERT INTO `sys_oper_log` VALUES (972, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"15222\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"444\",\"createTime\":1661952306725,\"billStatus\":\"0\",\"requestDate\":1661788800000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:24:41');
INSERT INTO `sys_oper_log` VALUES (973, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"15222\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"444\",\"createTime\":1661952314836,\"billStatus\":\"0\",\"requestDate\":1661788800000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:24:49');
INSERT INTO `sys_oper_log` VALUES (974, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"15222\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"444\",\"createTime\":1661952320869,\"billStatus\":\"0\",\"requestDate\":1661788800000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:24:55');
INSERT INTO `sys_oper_log` VALUES (975, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"111\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"22\",\"createTime\":1661952723005,\"billStatus\":\"0\",\"requestDate\":1661702400000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:31:37');
INSERT INTO `sys_oper_log` VALUES (976, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"111\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"22\",\"createTime\":1661952728859,\"billStatus\":\"0\",\"requestDate\":1661702400000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:31:43');
INSERT INTO `sys_oper_log` VALUES (977, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"11\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"22\",\"createTime\":1661953186480,\"billStatus\":\"0\",\"requestDate\":1661702400000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:39:21');
INSERT INTO `sys_oper_log` VALUES (978, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"11\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"22\",\"createTime\":1661953308519,\"billStatus\":\"0\",\"requestDate\":1661702400000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:41:23');
INSERT INTO `sys_oper_log` VALUES (979, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"11\",\"mesScalesOrderItemList\":[{\"explain\":\"\",\"clientName\":\"\",\"scalesOrderItemCode\":\"\",\"orderStatus\":\"\",\"remark\":\"\",\"productSpc\":\"\",\"productName\":\"\",\"ancestors\":\"\",\"unitOfMeasure\":\"\",\"attr2\":\"\",\"params\":{},\"attr1\":\"\",\"productCode\":\"\",\"clientCode\":\"\",\"status\":\"\"}],\"params\":{},\"scalesOrderName\":\"222\",\"createTime\":1661953691031,\"billStatus\":\"0\",\"requestDate\":1661788800000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:47:49');
INSERT INTO `sys_oper_log` VALUES (980, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"11\",\"mesScalesOrderItemList\":[],\"params\":{},\"scalesOrderName\":\"222\",\"createTime\":1661953778857,\"billStatus\":\"0\",\"requestDate\":1661788800000}', NULL, 1, 'nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error updating database.  Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.\r\n### The error may exist in com/ktg/mes/md/mapper/MesScalesOrderMapper.java (best guess)\r\n### The error may involve com.ktg.mes.md.mapper.MesScalesOrderMapper.insert\r\n### The error occurred while executing an update\r\n### Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property \'mesScalesOrderItemList\'. It was either not specified and/or could not be found for the javaType (java.util.List) : jdbcType (null) combination.', '2022-08-31 21:49:13');
INSERT INTO `sys_oper_log` VALUES (981, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"11\",\"params\":{},\"scalesOrderName\":\"222\",\"createTime\":1661953796391,\"billStatus\":\"0\",\"requestDate\":1661788800000,\"scalesOrderId\":1564973766496374786}', '{\"code\":200,\"msg\":\"添加成功！\",\"success\":true}', 0, NULL, '2022-08-31 21:49:31');
INSERT INTO `sys_oper_log` VALUES (982, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"orderStatus\":\"0\",\"scalesOrderCode\":\"22\",\"params\":{},\"scalesOrderName\":\"33\",\"createTime\":1661953868023,\"billStatus\":\"0\",\"requestDate\":1661702400000,\"scalesOrderId\":1564974066959638529}', '{\"code\":200,\"msg\":\"添加成功！\",\"success\":true}', 0, NULL, '2022-08-31 21:50:43');
INSERT INTO `sys_oper_log` VALUES (983, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00012\"', 0, NULL, '2022-08-31 22:51:31');
INSERT INTO `sys_oper_log` VALUES (984, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00013\"', 0, NULL, '2022-08-31 22:51:33');
INSERT INTO `sys_oper_log` VALUES (985, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00014\"', 0, NULL, '2022-08-31 22:51:35');
INSERT INTO `sys_oper_log` VALUES (986, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00015\"', 0, NULL, '2022-08-31 22:51:36');
INSERT INTO `sys_oper_log` VALUES (987, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00016\"', 0, NULL, '2022-08-31 22:51:38');
INSERT INTO `sys_oper_log` VALUES (988, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00017\"', 0, NULL, '2022-08-31 23:08:16');
INSERT INTO `sys_oper_log` VALUES (989, '生成业务编号', 1, 'com.ktg.system.strategy.AutoCodeUtil.genSerialCode()', 'GET', 1, 'admin', NULL, '/system/autocode/get/ITEM_CODE', '127.0.0.1', '内网IP', '{ruleCode=ITEM_CODE}', '\"C00018\"', 0, NULL, '2022-08-31 23:09:14');
INSERT INTO `sys_oper_log` VALUES (990, '销售订单', 1, 'com.ktg.mes.md.controller.MesScalesOrderController.add()', 'POST', 1, 'admin', NULL, '/md/order', '127.0.0.1', '内网IP', '{\"clientId\":11111,\"clientName\":\"客户名称\",\"orderStatus\":\"0\",\"remark\":\"备注\",\"scalesOrderCode\":\"C00018\",\"params\":{},\"scalesOrderName\":\"销售订单名称\",\"createTime\":1661958657101,\"clientCode\":\"客户编码\",\"billStatus\":\"0\",\"requestDate\":1659369600000,\"deposit\":123,\"salesman\":\"业务员\",\"scalesOrderId\":1564994153787654145}', '{\"code\":200,\"msg\":\"添加成功！\",\"success\":true}', 0, NULL, '2022-08-31 23:10:32');
INSERT INTO `sys_oper_log` VALUES (991, '销售订单', 5, 'com.ktg.mes.md.controller.MesScalesOrderController.export()', 'POST', 1, 'admin', NULL, '/md/order/export', '127.0.0.1', '内网IP', '{\"mesScalesOrderItemList\":[],\"params\":{}}', NULL, 1, 'can\'t found IPage for args!', '2022-08-31 23:14:44');
INSERT INTO `sys_oper_log` VALUES (992, '销售订单', 5, 'com.ktg.mes.md.controller.MesScalesOrderController.export()', 'POST', 1, 'admin', NULL, '/md/order/export', '127.0.0.1', '内网IP', '{\"mesScalesOrderItemList\":[],\"params\":{}}', NULL, 1, 'can\'t found IPage for args!', '2022-08-31 23:15:02');
INSERT INTO `sys_oper_log` VALUES (993, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-08-31 23:36:56');
INSERT INTO `sys_oper_log` VALUES (994, '代码生成', 8, 'com.ktg.generator.controller.GenController.batchGenCode()', 'GET', 1, 'admin', NULL, '/tool/gen/batchGenCode', '127.0.0.1', '内网IP', '{}', NULL, 0, NULL, '2022-09-01 10:58:43');
INSERT INTO `sys_oper_log` VALUES (995, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/202', '14.157.172.70', 'XX XX', '{itemTypeId=202}', '{\"msg\":\"分类下有物料，请先删除物料\",\"code\":500}', 0, NULL, '2022-09-01 11:02:37');
INSERT INTO `sys_oper_log` VALUES (996, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/201', '14.157.172.70', 'XX XX', '{itemTypeId=201}', '{\"msg\":\"分类下有物料，请先删除物料\",\"code\":500}', 0, NULL, '2022-09-01 11:02:42');
INSERT INTO `sys_oper_log` VALUES (997, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '14.157.172.70', 'XX XX', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"01\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"成品\",\"itemTypeId\":214,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:02:53');
INSERT INTO `sys_oper_log` VALUES (998, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '14.157.172.70', 'XX XX', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00003\",\"itemTypeCode\":\"03\",\"specification\":\"A020\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":201,\"createBy\":\"admin\",\"itemName\":\"A020\",\"createTime\":1661314361000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"原材料\",\"itemTypeId\":385,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:03:00');
INSERT INTO `sys_oper_log` VALUES (999, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '14.157.172.70', 'XX XX', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"010101010101\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"AG02系列\",\"itemTypeId\":219,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:13:57');
INSERT INTO `sys_oper_log` VALUES (1000, '物料管理', 2, 'com.ktg.mes.md.controller.MdItemController.edit()', 'PUT', 1, 'admin', NULL, '/mes/md/mditem', '14.157.172.70', 'XX XX', '{\"unitOfMeasure\":\"KG\",\"itemCode\":\"C00002\",\"itemTypeCode\":\"010101010101\",\"specification\":\"USR-100\",\"remark\":\"\",\"params\":{},\"minStock\":0.0,\"safeStockFlag\":\"N\",\"itemId\":200,\"createBy\":\"admin\",\"itemName\":\"AG02\",\"createTime\":1661314292000,\"updateBy\":\"admin\",\"maxStock\":0.0,\"itemTypeName\":\"AG02系列\",\"itemTypeId\":219,\"enableFlag\":\"Y\",\"itemOrProduct\":\"PRODUCT\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:14:11');
INSERT INTO `sys_oper_log` VALUES (1001, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/201', '14.157.172.70', 'XX XX', '{itemTypeId=201}', '{\"msg\":\"分类下有物料，请先删除物料\",\"code\":500}', 0, NULL, '2022-09-01 11:24:21');
INSERT INTO `sys_oper_log` VALUES (1002, '物料管理', 3, 'com.ktg.mes.md.controller.MdItemController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/mditem/200', '14.157.172.70', 'XX XX', '{itemIds=200}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:24:43');
INSERT INTO `sys_oper_log` VALUES (1003, '物料管理', 3, 'com.ktg.mes.md.controller.MdItemController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/mditem/201', '14.157.172.70', 'XX XX', '{itemIds=201}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:25:02');
INSERT INTO `sys_oper_log` VALUES (1004, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/201', '14.157.172.70', 'XX XX', '{itemTypeId=201}', '{\"msg\":\"分类下有物料，请先删除物料\",\"code\":500}', 0, NULL, '2022-09-01 11:25:09');
INSERT INTO `sys_oper_log` VALUES (1005, '物料管理', 3, 'com.ktg.mes.md.controller.MdItemController.remove()', 'DELETE', 1, 'admin', NULL, '/mes/md/mditem/203', '14.157.172.70', 'XX XX', '{itemIds=203}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:25:24');
INSERT INTO `sys_oper_log` VALUES (1006, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/201', '14.157.172.70', 'XX XX', '{itemTypeId=201}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-09-01 11:25:34');
INSERT INTO `sys_oper_log` VALUES (1007, '删除物料产品分类', 3, 'com.ktg.mes.md.controller.ItemTypeController.del()', 'DELETE', 1, 'admin', NULL, '/mes/md/itemtype/202', '14.157.172.70', 'XX XX', '{itemTypeId=202}', '{\"msg\":\"操作成功\",\"code\":200,\"data\":1}', 0, NULL, '2022-09-01 11:25:37');
INSERT INTO `sys_oper_log` VALUES (1008, '产品SOP', 1, 'com.ktg.mes.md.controller.MdProductSopController.add()', 'POST', 1, 'admin', NULL, '/mes/md/sop', '14.157.172.70', 'XX XX', '{\"sopDescription\":\"111\",\"sopId\":200,\"orderNum\":1,\"params\":{},\"sopTitle\":\"111\",\"itemId\":202,\"createTime\":1662003671133,\"processId\":202}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-09-01 11:41:11');
COMMIT;

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` (
  `post_id` bigint NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
  `post_sort` int NOT NULL COMMENT '显示顺序',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='岗位信息表';

-- ----------------------------
-- Records of sys_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_post` VALUES (1, 'ceo', '董事长', 1, '0', 'admin', '2022-08-24 02:56:38', '', NULL, '');
INSERT INTO `sys_post` VALUES (2, 'se', '项目经理', 2, '0', 'admin', '2022-08-24 02:56:38', '', NULL, '');
INSERT INTO `sys_post` VALUES (3, 'hr', '人力资源', 3, '0', 'admin', '2022-08-24 02:56:38', '', NULL, '');
INSERT INTO `sys_post` VALUES (4, 'user', '普通员工', 4, '0', 'admin', '2022-08-24 02:56:38', '', NULL, '');
INSERT INTO `sys_post` VALUES (5, 'test', '测试人员', 5, '0', 'MES', '2022-08-30 15:52:24', 'MES', '2022-08-30 15:52:31', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
  `role_sort` int NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) DEFAULT '1' COMMENT '部门树选择项是否关联显示',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'admin', 1, '1', 1, 1, '0', '0', 'admin', '2022-08-24 02:56:38', '', NULL, '超级管理员');
INSERT INTO `sys_role` VALUES (2, '普通角色', 'common', 2, '2', 1, 1, '0', '0', 'admin', '2022-08-24 02:56:38', '', NULL, '普通角色');
INSERT INTO `sys_role` VALUES (100, 'mes管理员', 'mes管理员', 0, '1', 1, 1, '0', '0', 'admin', '2022-08-30 15:09:21', 'admin', '2022-08-30 15:56:17', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `dept_id` bigint NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色和部门关联表';

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_dept` VALUES (2, 100);
INSERT INTO `sys_role_dept` VALUES (2, 101);
INSERT INTO `sys_role_dept` VALUES (2, 105);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` VALUES (2, 1);
INSERT INTO `sys_role_menu` VALUES (2, 2);
INSERT INTO `sys_role_menu` VALUES (2, 3);
INSERT INTO `sys_role_menu` VALUES (2, 4);
INSERT INTO `sys_role_menu` VALUES (2, 100);
INSERT INTO `sys_role_menu` VALUES (2, 101);
INSERT INTO `sys_role_menu` VALUES (2, 102);
INSERT INTO `sys_role_menu` VALUES (2, 103);
INSERT INTO `sys_role_menu` VALUES (2, 104);
INSERT INTO `sys_role_menu` VALUES (2, 105);
INSERT INTO `sys_role_menu` VALUES (2, 106);
INSERT INTO `sys_role_menu` VALUES (2, 107);
INSERT INTO `sys_role_menu` VALUES (2, 108);
INSERT INTO `sys_role_menu` VALUES (2, 109);
INSERT INTO `sys_role_menu` VALUES (2, 110);
INSERT INTO `sys_role_menu` VALUES (2, 111);
INSERT INTO `sys_role_menu` VALUES (2, 112);
INSERT INTO `sys_role_menu` VALUES (2, 113);
INSERT INTO `sys_role_menu` VALUES (2, 114);
INSERT INTO `sys_role_menu` VALUES (2, 115);
INSERT INTO `sys_role_menu` VALUES (2, 116);
INSERT INTO `sys_role_menu` VALUES (2, 500);
INSERT INTO `sys_role_menu` VALUES (2, 501);
INSERT INTO `sys_role_menu` VALUES (2, 1000);
INSERT INTO `sys_role_menu` VALUES (2, 1001);
INSERT INTO `sys_role_menu` VALUES (2, 1002);
INSERT INTO `sys_role_menu` VALUES (2, 1003);
INSERT INTO `sys_role_menu` VALUES (2, 1004);
INSERT INTO `sys_role_menu` VALUES (2, 1005);
INSERT INTO `sys_role_menu` VALUES (2, 1006);
INSERT INTO `sys_role_menu` VALUES (2, 1007);
INSERT INTO `sys_role_menu` VALUES (2, 1008);
INSERT INTO `sys_role_menu` VALUES (2, 1009);
INSERT INTO `sys_role_menu` VALUES (2, 1010);
INSERT INTO `sys_role_menu` VALUES (2, 1011);
INSERT INTO `sys_role_menu` VALUES (2, 1012);
INSERT INTO `sys_role_menu` VALUES (2, 1013);
INSERT INTO `sys_role_menu` VALUES (2, 1014);
INSERT INTO `sys_role_menu` VALUES (2, 1015);
INSERT INTO `sys_role_menu` VALUES (2, 1016);
INSERT INTO `sys_role_menu` VALUES (2, 1017);
INSERT INTO `sys_role_menu` VALUES (2, 1018);
INSERT INTO `sys_role_menu` VALUES (2, 1019);
INSERT INTO `sys_role_menu` VALUES (2, 1020);
INSERT INTO `sys_role_menu` VALUES (2, 1021);
INSERT INTO `sys_role_menu` VALUES (2, 1022);
INSERT INTO `sys_role_menu` VALUES (2, 1023);
INSERT INTO `sys_role_menu` VALUES (2, 1024);
INSERT INTO `sys_role_menu` VALUES (2, 1025);
INSERT INTO `sys_role_menu` VALUES (2, 1026);
INSERT INTO `sys_role_menu` VALUES (2, 1027);
INSERT INTO `sys_role_menu` VALUES (2, 1028);
INSERT INTO `sys_role_menu` VALUES (2, 1029);
INSERT INTO `sys_role_menu` VALUES (2, 1030);
INSERT INTO `sys_role_menu` VALUES (2, 1031);
INSERT INTO `sys_role_menu` VALUES (2, 1032);
INSERT INTO `sys_role_menu` VALUES (2, 1033);
INSERT INTO `sys_role_menu` VALUES (2, 1034);
INSERT INTO `sys_role_menu` VALUES (2, 1035);
INSERT INTO `sys_role_menu` VALUES (2, 1036);
INSERT INTO `sys_role_menu` VALUES (2, 1037);
INSERT INTO `sys_role_menu` VALUES (2, 1038);
INSERT INTO `sys_role_menu` VALUES (2, 1039);
INSERT INTO `sys_role_menu` VALUES (2, 1040);
INSERT INTO `sys_role_menu` VALUES (2, 1041);
INSERT INTO `sys_role_menu` VALUES (2, 1042);
INSERT INTO `sys_role_menu` VALUES (2, 1043);
INSERT INTO `sys_role_menu` VALUES (2, 1044);
INSERT INTO `sys_role_menu` VALUES (2, 1045);
INSERT INTO `sys_role_menu` VALUES (2, 1046);
INSERT INTO `sys_role_menu` VALUES (2, 1047);
INSERT INTO `sys_role_menu` VALUES (2, 1048);
INSERT INTO `sys_role_menu` VALUES (2, 1049);
INSERT INTO `sys_role_menu` VALUES (2, 1050);
INSERT INTO `sys_role_menu` VALUES (2, 1051);
INSERT INTO `sys_role_menu` VALUES (2, 1052);
INSERT INTO `sys_role_menu` VALUES (2, 1053);
INSERT INTO `sys_role_menu` VALUES (2, 1054);
INSERT INTO `sys_role_menu` VALUES (2, 1055);
INSERT INTO `sys_role_menu` VALUES (2, 1056);
INSERT INTO `sys_role_menu` VALUES (2, 1057);
INSERT INTO `sys_role_menu` VALUES (2, 1058);
INSERT INTO `sys_role_menu` VALUES (2, 1059);
INSERT INTO `sys_role_menu` VALUES (2, 1060);
INSERT INTO `sys_role_menu` VALUES (100, 1);
INSERT INTO `sys_role_menu` VALUES (100, 100);
INSERT INTO `sys_role_menu` VALUES (100, 103);
INSERT INTO `sys_role_menu` VALUES (100, 104);
INSERT INTO `sys_role_menu` VALUES (100, 1001);
INSERT INTO `sys_role_menu` VALUES (100, 1002);
INSERT INTO `sys_role_menu` VALUES (100, 1003);
INSERT INTO `sys_role_menu` VALUES (100, 1004);
INSERT INTO `sys_role_menu` VALUES (100, 1005);
INSERT INTO `sys_role_menu` VALUES (100, 1006);
INSERT INTO `sys_role_menu` VALUES (100, 1007);
INSERT INTO `sys_role_menu` VALUES (100, 1017);
INSERT INTO `sys_role_menu` VALUES (100, 1018);
INSERT INTO `sys_role_menu` VALUES (100, 1019);
INSERT INTO `sys_role_menu` VALUES (100, 1020);
INSERT INTO `sys_role_menu` VALUES (100, 1021);
INSERT INTO `sys_role_menu` VALUES (100, 1022);
INSERT INTO `sys_role_menu` VALUES (100, 1023);
INSERT INTO `sys_role_menu` VALUES (100, 1024);
INSERT INTO `sys_role_menu` VALUES (100, 1025);
INSERT INTO `sys_role_menu` VALUES (100, 2000);
INSERT INTO `sys_role_menu` VALUES (100, 2001);
INSERT INTO `sys_role_menu` VALUES (100, 2002);
INSERT INTO `sys_role_menu` VALUES (100, 2008);
INSERT INTO `sys_role_menu` VALUES (100, 2009);
INSERT INTO `sys_role_menu` VALUES (100, 2010);
INSERT INTO `sys_role_menu` VALUES (100, 2011);
INSERT INTO `sys_role_menu` VALUES (100, 2012);
INSERT INTO `sys_role_menu` VALUES (100, 2013);
INSERT INTO `sys_role_menu` VALUES (100, 2014);
INSERT INTO `sys_role_menu` VALUES (100, 2015);
INSERT INTO `sys_role_menu` VALUES (100, 2016);
INSERT INTO `sys_role_menu` VALUES (100, 2017);
INSERT INTO `sys_role_menu` VALUES (100, 2018);
INSERT INTO `sys_role_menu` VALUES (100, 2019);
INSERT INTO `sys_role_menu` VALUES (100, 2020);
INSERT INTO `sys_role_menu` VALUES (100, 2021);
INSERT INTO `sys_role_menu` VALUES (100, 2022);
INSERT INTO `sys_role_menu` VALUES (100, 2023);
INSERT INTO `sys_role_menu` VALUES (100, 2024);
INSERT INTO `sys_role_menu` VALUES (100, 2025);
INSERT INTO `sys_role_menu` VALUES (100, 2026);
INSERT INTO `sys_role_menu` VALUES (100, 2027);
INSERT INTO `sys_role_menu` VALUES (100, 2028);
INSERT INTO `sys_role_menu` VALUES (100, 2029);
INSERT INTO `sys_role_menu` VALUES (100, 2030);
INSERT INTO `sys_role_menu` VALUES (100, 2031);
INSERT INTO `sys_role_menu` VALUES (100, 2032);
INSERT INTO `sys_role_menu` VALUES (100, 2033);
INSERT INTO `sys_role_menu` VALUES (100, 2034);
INSERT INTO `sys_role_menu` VALUES (100, 2035);
INSERT INTO `sys_role_menu` VALUES (100, 2036);
INSERT INTO `sys_role_menu` VALUES (100, 2037);
INSERT INTO `sys_role_menu` VALUES (100, 2038);
INSERT INTO `sys_role_menu` VALUES (100, 2039);
INSERT INTO `sys_role_menu` VALUES (100, 2040);
INSERT INTO `sys_role_menu` VALUES (100, 2041);
INSERT INTO `sys_role_menu` VALUES (100, 2042);
INSERT INTO `sys_role_menu` VALUES (100, 2043);
INSERT INTO `sys_role_menu` VALUES (100, 2044);
INSERT INTO `sys_role_menu` VALUES (100, 2045);
INSERT INTO `sys_role_menu` VALUES (100, 2046);
INSERT INTO `sys_role_menu` VALUES (100, 2047);
INSERT INTO `sys_role_menu` VALUES (100, 2048);
INSERT INTO `sys_role_menu` VALUES (100, 2049);
INSERT INTO `sys_role_menu` VALUES (100, 2050);
INSERT INTO `sys_role_menu` VALUES (100, 2051);
INSERT INTO `sys_role_menu` VALUES (100, 2052);
INSERT INTO `sys_role_menu` VALUES (100, 2053);
INSERT INTO `sys_role_menu` VALUES (100, 2054);
INSERT INTO `sys_role_menu` VALUES (100, 2055);
INSERT INTO `sys_role_menu` VALUES (100, 2056);
INSERT INTO `sys_role_menu` VALUES (100, 2057);
INSERT INTO `sys_role_menu` VALUES (100, 2058);
INSERT INTO `sys_role_menu` VALUES (100, 2059);
INSERT INTO `sys_role_menu` VALUES (100, 2060);
INSERT INTO `sys_role_menu` VALUES (100, 2061);
INSERT INTO `sys_role_menu` VALUES (100, 2062);
INSERT INTO `sys_role_menu` VALUES (100, 2063);
INSERT INTO `sys_role_menu` VALUES (100, 2064);
INSERT INTO `sys_role_menu` VALUES (100, 2065);
INSERT INTO `sys_role_menu` VALUES (100, 2066);
INSERT INTO `sys_role_menu` VALUES (100, 2067);
INSERT INTO `sys_role_menu` VALUES (100, 2068);
INSERT INTO `sys_role_menu` VALUES (100, 2069);
INSERT INTO `sys_role_menu` VALUES (100, 2070);
INSERT INTO `sys_role_menu` VALUES (100, 2071);
INSERT INTO `sys_role_menu` VALUES (100, 2072);
INSERT INTO `sys_role_menu` VALUES (100, 2073);
INSERT INTO `sys_role_menu` VALUES (100, 2074);
INSERT INTO `sys_role_menu` VALUES (100, 2075);
INSERT INTO `sys_role_menu` VALUES (100, 2076);
INSERT INTO `sys_role_menu` VALUES (100, 2077);
INSERT INTO `sys_role_menu` VALUES (100, 2078);
INSERT INTO `sys_role_menu` VALUES (100, 2079);
INSERT INTO `sys_role_menu` VALUES (100, 2080);
INSERT INTO `sys_role_menu` VALUES (100, 2081);
INSERT INTO `sys_role_menu` VALUES (100, 2082);
INSERT INTO `sys_role_menu` VALUES (100, 2083);
INSERT INTO `sys_role_menu` VALUES (100, 2084);
INSERT INTO `sys_role_menu` VALUES (100, 2085);
INSERT INTO `sys_role_menu` VALUES (100, 2086);
INSERT INTO `sys_role_menu` VALUES (100, 2087);
INSERT INTO `sys_role_menu` VALUES (100, 2088);
INSERT INTO `sys_role_menu` VALUES (100, 2089);
INSERT INTO `sys_role_menu` VALUES (100, 2090);
INSERT INTO `sys_role_menu` VALUES (100, 2091);
INSERT INTO `sys_role_menu` VALUES (100, 2092);
INSERT INTO `sys_role_menu` VALUES (100, 2093);
INSERT INTO `sys_role_menu` VALUES (100, 2094);
INSERT INTO `sys_role_menu` VALUES (100, 2109);
INSERT INTO `sys_role_menu` VALUES (100, 2110);
INSERT INTO `sys_role_menu` VALUES (100, 2111);
INSERT INTO `sys_role_menu` VALUES (100, 2112);
INSERT INTO `sys_role_menu` VALUES (100, 2113);
INSERT INTO `sys_role_menu` VALUES (100, 2114);
INSERT INTO `sys_role_menu` VALUES (100, 2115);
INSERT INTO `sys_role_menu` VALUES (100, 2116);
INSERT INTO `sys_role_menu` VALUES (100, 2117);
INSERT INTO `sys_role_menu` VALUES (100, 2118);
INSERT INTO `sys_role_menu` VALUES (100, 2119);
INSERT INTO `sys_role_menu` VALUES (100, 2120);
INSERT INTO `sys_role_menu` VALUES (100, 2121);
INSERT INTO `sys_role_menu` VALUES (100, 2122);
INSERT INTO `sys_role_menu` VALUES (100, 2123);
INSERT INTO `sys_role_menu` VALUES (100, 2124);
INSERT INTO `sys_role_menu` VALUES (100, 2125);
INSERT INTO `sys_role_menu` VALUES (100, 2126);
INSERT INTO `sys_role_menu` VALUES (100, 2127);
INSERT INTO `sys_role_menu` VALUES (100, 2128);
INSERT INTO `sys_role_menu` VALUES (100, 2129);
INSERT INTO `sys_role_menu` VALUES (100, 2130);
INSERT INTO `sys_role_menu` VALUES (100, 2131);
INSERT INTO `sys_role_menu` VALUES (100, 2132);
INSERT INTO `sys_role_menu` VALUES (100, 2133);
INSERT INTO `sys_role_menu` VALUES (100, 2134);
INSERT INTO `sys_role_menu` VALUES (100, 2135);
INSERT INTO `sys_role_menu` VALUES (100, 2136);
INSERT INTO `sys_role_menu` VALUES (100, 2137);
INSERT INTO `sys_role_menu` VALUES (100, 2138);
INSERT INTO `sys_role_menu` VALUES (100, 2139);
INSERT INTO `sys_role_menu` VALUES (100, 2140);
INSERT INTO `sys_role_menu` VALUES (100, 2141);
INSERT INTO `sys_role_menu` VALUES (100, 2142);
INSERT INTO `sys_role_menu` VALUES (100, 2143);
INSERT INTO `sys_role_menu` VALUES (100, 2144);
INSERT INTO `sys_role_menu` VALUES (100, 2145);
INSERT INTO `sys_role_menu` VALUES (100, 2146);
INSERT INTO `sys_role_menu` VALUES (100, 2147);
INSERT INTO `sys_role_menu` VALUES (100, 2148);
INSERT INTO `sys_role_menu` VALUES (100, 2149);
INSERT INTO `sys_role_menu` VALUES (100, 2150);
INSERT INTO `sys_role_menu` VALUES (100, 2151);
INSERT INTO `sys_role_menu` VALUES (100, 2152);
INSERT INTO `sys_role_menu` VALUES (100, 2153);
INSERT INTO `sys_role_menu` VALUES (100, 2154);
INSERT INTO `sys_role_menu` VALUES (100, 2155);
INSERT INTO `sys_role_menu` VALUES (100, 2156);
INSERT INTO `sys_role_menu` VALUES (100, 2157);
INSERT INTO `sys_role_menu` VALUES (100, 2158);
INSERT INTO `sys_role_menu` VALUES (100, 2159);
INSERT INTO `sys_role_menu` VALUES (100, 2160);
INSERT INTO `sys_role_menu` VALUES (100, 2161);
INSERT INTO `sys_role_menu` VALUES (100, 2162);
INSERT INTO `sys_role_menu` VALUES (100, 2163);
INSERT INTO `sys_role_menu` VALUES (100, 2164);
INSERT INTO `sys_role_menu` VALUES (100, 2165);
INSERT INTO `sys_role_menu` VALUES (100, 2166);
INSERT INTO `sys_role_menu` VALUES (100, 2167);
INSERT INTO `sys_role_menu` VALUES (100, 2168);
INSERT INTO `sys_role_menu` VALUES (100, 2169);
INSERT INTO `sys_role_menu` VALUES (100, 2170);
INSERT INTO `sys_role_menu` VALUES (100, 2171);
INSERT INTO `sys_role_menu` VALUES (100, 2172);
INSERT INTO `sys_role_menu` VALUES (100, 2173);
INSERT INTO `sys_role_menu` VALUES (100, 2174);
INSERT INTO `sys_role_menu` VALUES (100, 2175);
INSERT INTO `sys_role_menu` VALUES (100, 2176);
INSERT INTO `sys_role_menu` VALUES (100, 2177);
INSERT INTO `sys_role_menu` VALUES (100, 2178);
INSERT INTO `sys_role_menu` VALUES (100, 2179);
INSERT INTO `sys_role_menu` VALUES (100, 2180);
INSERT INTO `sys_role_menu` VALUES (100, 2181);
INSERT INTO `sys_role_menu` VALUES (100, 2182);
INSERT INTO `sys_role_menu` VALUES (100, 2183);
INSERT INTO `sys_role_menu` VALUES (100, 2184);
INSERT INTO `sys_role_menu` VALUES (100, 2185);
INSERT INTO `sys_role_menu` VALUES (100, 2186);
INSERT INTO `sys_role_menu` VALUES (100, 2187);
INSERT INTO `sys_role_menu` VALUES (100, 2188);
INSERT INTO `sys_role_menu` VALUES (100, 2189);
INSERT INTO `sys_role_menu` VALUES (100, 2190);
INSERT INTO `sys_role_menu` VALUES (100, 2191);
INSERT INTO `sys_role_menu` VALUES (100, 2192);
INSERT INTO `sys_role_menu` VALUES (100, 2193);
INSERT INTO `sys_role_menu` VALUES (100, 2194);
INSERT INTO `sys_role_menu` VALUES (100, 2195);
INSERT INTO `sys_role_menu` VALUES (100, 2196);
INSERT INTO `sys_role_menu` VALUES (100, 2209);
INSERT INTO `sys_role_menu` VALUES (100, 2210);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称',
  `user_type` varchar(2) COLLATE utf8mb4_general_ci DEFAULT '00' COMMENT '用户类型（00系统用户）',
  `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '手机号码',
  `sex` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '头像地址',
  `password` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '密码',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` VALUES (1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-09-01 11:46:37', 'admin', '2022-08-24 02:56:38', '', '2022-09-01 11:46:11', '管理员');
INSERT INTO `sys_user` VALUES (2, 105, 'ry', '鑫正', '00', 'xz@qq.com', '15666666666', '0', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '1', '0', '127.0.0.1', '2022-08-24 02:56:38', 'admin', '2022-08-24 02:56:38', 'admin', '2022-08-30 15:42:10', '');
INSERT INTO `sys_user` VALUES (100, 105, 'PD001', '生产员01', '00', 'xz-pd001@qq.com', '', '0', '', '$2a$10$xlgdSUJCM58Iwc16Q2V0sOGWemsVix1J1yT5igaoiRsdaUqKayX2S', '0', '0', '', NULL, 'admin', '2022-08-29 12:12:15', '', NULL, NULL);
INSERT INTO `sys_user` VALUES (101, 105, 'PD002', '生产员02', '00', 'xz-pd002@qq.com', '', '0', '', '$2a$10$ZWTt2J33Lzf7JU5m2gswxuj1o2bUCKZz5qokBkZloMYybgJSEUccW', '0', '0', '', NULL, 'admin', '2022-08-29 12:18:54', '', NULL, NULL);
INSERT INTO `sys_user` VALUES (102, 100, 'MES管理员', 'MES', '00', '', '', '0', '', '$2a$10$dXVlqS8wqkj/64eqCuz0LeioHoq0RhaifZFVnIpa4epAH480rMtU6', '0', '2', '', NULL, 'admin', '2022-08-30 15:14:07', 'admin', '2022-08-30 15:14:31', 'mes 系统管理员');
INSERT INTO `sys_user` VALUES (103, 100, 'MES', 'MES 系统管理员', '00', '', '', '2', '', '$2a$10$ucH3Vrr.TFR829TwNSq3zea3cMhSuoWT.XZlyQPPv8yO7MjOXO/9y', '0', '0', '127.0.0.1', '2022-08-30 15:51:28', 'admin', '2022-08-30 15:15:50', 'admin', '2022-08-30 15:51:02', 'MES 系统最高管理员');
INSERT INTO `sys_user` VALUES (104, 100, '测试 001', 'test001', '00', '', '', '0', '', '$2a$10$nfZYLbLp5PocJKUvlKYDWe37J2f2/8PSzKiDCOcMRLSUQxPJje9OC', '0', '2', '', NULL, 'MES', '2022-08-30 15:35:17', 'admin', '2022-08-30 15:37:15', NULL);
INSERT INTO `sys_user` VALUES (105, 105, 'test001', 'test001', '00', '1109702647@qq.com', '13111111111', '2', '', '$2a$10$ZBrfhpyLDx6O5G/JlnXLo.dFVR1IyS099LnCecW9z3ur/ezJZNUla', '1', '0', '127.0.0.1', '2022-08-30 15:39:33', 'admin', '2022-08-30 15:38:49', 'admin', '2022-08-30 15:42:42', NULL);
INSERT INTO `sys_user` VALUES (106, 100, 'test002', 'test002', '00', '', '13111111112', '2', '', '$2a$10$cmPURNGdQlU7BCwh0FVameD/FZpaYnydF8mFovTMZwVhP78V8SrhC', '0', '0', '127.0.0.1', '2022-08-30 15:51:14', 'MES', '2022-08-30 15:46:12', 'MES', '2022-08-30 15:53:12', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户与岗位关联表';

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_post` VALUES (1, 1);
INSERT INTO `sys_user_post` VALUES (2, 2);
INSERT INTO `sys_user_post` VALUES (100, 4);
INSERT INTO `sys_user_post` VALUES (101, 4);
INSERT INTO `sys_user_post` VALUES (105, 4);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (2, 2);
INSERT INTO `sys_user_role` VALUES (100, 2);
INSERT INTO `sys_user_role` VALUES (101, 2);
INSERT INTO `sys_user_role` VALUES (103, 100);
INSERT INTO `sys_user_role` VALUES (105, 2);
INSERT INTO `sys_user_role` VALUES (106, 2);
COMMIT;

-- ----------------------------
-- Table structure for tm_tool
-- ----------------------------
DROP TABLE IF EXISTS `tm_tool`;
CREATE TABLE `tm_tool` (
  `tool_id` bigint NOT NULL AUTO_INCREMENT COMMENT '工装夹具ID',
  `tool_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工装夹具编码',
  `tool_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '工装夹具名称',
  `brand` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '品牌',
  `spec` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '型号',
  `tool_type_id` bigint NOT NULL COMMENT '工装夹具类型ID',
  `tool_type_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工装夹具类型编码',
  `tool_type_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工装夹具类型名称',
  `code_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否单独编码管理',
  `quantity` int NOT NULL DEFAULT '1' COMMENT '数量',
  `quantity_avail` int DEFAULT '1' COMMENT '可用数量',
  `mainten_type` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '保养维护类型',
  `next_mainten_period` int DEFAULT NULL COMMENT '下一次保养周期',
  `next_mainten_date` datetime DEFAULT NULL COMMENT '下一次保养日期',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'STORE' COMMENT '状态[MES_TOOL_STATUS]',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`tool_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工装夹具清单表';

-- ----------------------------
-- Table structure for tm_tool_type
-- ----------------------------
DROP TABLE IF EXISTS `tm_tool_type`;
CREATE TABLE `tm_tool_type` (
  `tool_type_id` bigint NOT NULL AUTO_INCREMENT COMMENT '工装夹具类型ID',
  `tool_type_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型编码',
  `tool_type_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '类型名称',
  `code_flag` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Y' COMMENT '是否编码管理',
  `mainten_type` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '保养维护类型',
  `mainten_period` int DEFAULT NULL COMMENT '保养周期',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`tool_type_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='工装夹具类型表';

-- ----------------------------
-- Table structure for wm_barcode
-- ----------------------------
DROP TABLE IF EXISTS `wm_barcode`;
CREATE TABLE `wm_barcode` (
  `barcode_id` bigint NOT NULL AUTO_INCREMENT COMMENT '条码ID',
  `barcode_formart` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '条码格式',
  `barcode_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '条码类型',
  `barcode_content` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '产品物料ID',
  `url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '条码地址',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT 'Y' COMMENT '是否生效',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`barcode_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='条码清单表';

-- ----------------------------
-- Table structure for wm_issue_header
-- ----------------------------
DROP TABLE IF EXISTS `wm_issue_header`;
CREATE TABLE `wm_issue_header` (
  `issue_id` bigint NOT NULL AUTO_INCREMENT COMMENT '领料单ID',
  `issue_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '领料单编号',
  `issue_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '领料单名称',
  `workstation_id` bigint DEFAULT NULL COMMENT '工作站ID',
  `workstation_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站编号',
  `workstation_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工作站名称',
  `workorder_id` bigint DEFAULT NULL COMMENT '生产工单ID',
  `workorder_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产工单编码',
  `task_id` bigint DEFAULT NULL COMMENT '生产任务ID',
  `task_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生产任务编码',
  `warehouse_id` bigint DEFAULT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `issue_date` datetime DEFAULT NULL COMMENT '领料日期',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`issue_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产领料单头表';

-- ----------------------------
-- Table structure for wm_issue_line
-- ----------------------------
DROP TABLE IF EXISTS `wm_issue_line`;
CREATE TABLE `wm_issue_line` (
  `line_id` bigint NOT NULL AUTO_INCREMENT COMMENT '行ID',
  `issue_id` bigint DEFAULT NULL COMMENT '领料单ID',
  `material_stock_id` bigint DEFAULT NULL COMMENT '库存ID',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `quantity_issued` double(12,2) NOT NULL COMMENT '领料数量',
  `batch_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '领料批次号',
  `warehouse_id` bigint DEFAULT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='生产领料单行表';

-- ----------------------------
-- Table structure for wm_item_recpt
-- ----------------------------
DROP TABLE IF EXISTS `wm_item_recpt`;
CREATE TABLE `wm_item_recpt` (
  `recpt_id` bigint NOT NULL AUTO_INCREMENT COMMENT '入库单ID',
  `recpt_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '入库单编号',
  `recpt_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '入库单名称',
  `iqc_id` bigint DEFAULT NULL COMMENT '来料检验单ID',
  `iqc_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '来料检验单编号',
  `po_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '采购订单编号',
  `vendor_id` bigint DEFAULT NULL COMMENT '供应商ID',
  `vendor_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商编码',
  `vendor_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商名称',
  `vendor_nick` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简称',
  `warehouse_id` bigint DEFAULT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `recpt_date` datetime DEFAULT NULL COMMENT '入库日期',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`recpt_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='物料入库单表';

-- ----------------------------
-- Records of wm_item_recpt
-- ----------------------------
BEGIN;
INSERT INTO `wm_item_recpt` VALUES (200, 'RKD0001', 'RKD0001', NULL, NULL, '2022082500001', 200, 'GYS001', 'XXX供应商公司', 'XXX供应商公司', 200, 'CK001', '成品仓', 200, 'KQ001', '成品仓1区', NULL, NULL, NULL, '2022-08-26 00:00:00', 'CONFIRMED', '', NULL, NULL, 0, 0, '', '2022-08-26 18:07:23', '', '2022-08-26 18:08:20');
COMMIT;

-- ----------------------------
-- Table structure for wm_item_recpt_line
-- ----------------------------
DROP TABLE IF EXISTS `wm_item_recpt_line`;
CREATE TABLE `wm_item_recpt_line` (
  `line_id` bigint NOT NULL AUTO_INCREMENT COMMENT '行ID',
  `recpt_id` bigint DEFAULT NULL COMMENT '入库单ID',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `quantity_recived` double(12,2) NOT NULL COMMENT '入库数量',
  `batch_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '入库批次号',
  `warehouse_id` bigint DEFAULT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `expire_date` datetime DEFAULT NULL COMMENT '有效期',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='物料入库单行表';

-- ----------------------------
-- Records of wm_item_recpt_line
-- ----------------------------
BEGIN;
INSERT INTO `wm_item_recpt_line` VALUES (200, 200, 201, 'C00003', 'A020', 'A020', 'KG', 1.00, 'PC00001', 200, 'CK001', '成品仓', 200, 'KQ001', '成品仓1区', NULL, NULL, NULL, '2022-08-26 00:00:00', '', NULL, NULL, 0, 0, '', '2022-08-26 18:08:00', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for wm_material_stock
-- ----------------------------
DROP TABLE IF EXISTS `wm_material_stock`;
CREATE TABLE `wm_material_stock` (
  `material_stock_id` bigint NOT NULL AUTO_INCREMENT COMMENT '事务ID',
  `item_type_id` bigint DEFAULT NULL COMMENT '物料类型ID',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `batch_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '入库批次号',
  `warehouse_id` bigint NOT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `vendor_id` bigint DEFAULT NULL COMMENT '供应商ID',
  `vendor_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商编号',
  `vendor_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商名称',
  `vendor_nick` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简称',
  `quantity_onhand` double(12,2) DEFAULT NULL COMMENT '在库数量',
  `expire_date` datetime DEFAULT NULL COMMENT '库存有效期',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`material_stock_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='库存记录表';

-- ----------------------------
-- Table structure for wm_rt_vendor
-- ----------------------------
DROP TABLE IF EXISTS `wm_rt_vendor`;
CREATE TABLE `wm_rt_vendor` (
  `rt_id` bigint NOT NULL AUTO_INCREMENT COMMENT '退货单ID',
  `rt_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '退货单编号',
  `rt_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '退货单名称',
  `po_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '采购订单编号',
  `vendor_id` bigint DEFAULT NULL COMMENT '供应商ID',
  `vendor_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商编码',
  `vendor_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商名称',
  `vendor_nick` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简称',
  `batch_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '批次号',
  `rt_date` datetime DEFAULT NULL COMMENT '退货日期',
  `status` varchar(64) COLLATE utf8mb4_general_ci DEFAULT 'PREPARE' COMMENT '单据状态',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`rt_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='供应商退货表';

-- ----------------------------
-- Records of wm_rt_vendor
-- ----------------------------
BEGIN;
INSERT INTO `wm_rt_vendor` VALUES (200, 'RTV20220831001', '退货单名称', '采购订单编号', 201, 'V00001', '供应商名称', '供应商简称', '批次号001', '2022-08-31 00:00:00', 'PREPARE', '', NULL, NULL, 0, 0, '', '2022-08-31 18:13:26', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for wm_rt_vendor_line
-- ----------------------------
DROP TABLE IF EXISTS `wm_rt_vendor_line`;
CREATE TABLE `wm_rt_vendor_line` (
  `line_id` bigint NOT NULL AUTO_INCREMENT COMMENT '行ID',
  `rt_id` bigint DEFAULT NULL COMMENT '退货单ID',
  `material_stock_id` bigint DEFAULT NULL COMMENT '库存记录ID',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `quantity_rted` double(12,2) NOT NULL COMMENT '退货数量',
  `batch_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '批次号',
  `warehouse_id` bigint DEFAULT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='供应商退货行表';

-- ----------------------------
-- Table structure for wm_storage_area
-- ----------------------------
DROP TABLE IF EXISTS `wm_storage_area`;
CREATE TABLE `wm_storage_area` (
  `area_id` bigint NOT NULL AUTO_INCREMENT COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '库位名称',
  `location_id` bigint NOT NULL COMMENT '库区ID',
  `area` double(8,2) DEFAULT NULL COMMENT '面积',
  `max_loa` double(8,2) DEFAULT NULL COMMENT '最大载重量',
  `position_x` int DEFAULT NULL COMMENT '库位位置X',
  `position_y` int DEFAULT NULL COMMENT '库位位置y',
  `position_z` int DEFAULT NULL COMMENT '库位位置z',
  `enable_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否启用',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`area_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='库位表';

-- ----------------------------
-- Table structure for wm_storage_location
-- ----------------------------
DROP TABLE IF EXISTS `wm_storage_location`;
CREATE TABLE `wm_storage_location` (
  `location_id` bigint NOT NULL AUTO_INCREMENT COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '库区名称',
  `warehouse_id` bigint NOT NULL COMMENT '仓库ID',
  `area` double(12,2) DEFAULT NULL COMMENT '面积',
  `area_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '是否开启库位管理',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='库区表';

-- ----------------------------
-- Records of wm_storage_location
-- ----------------------------
BEGIN;
INSERT INTO `wm_storage_location` VALUES (200, 'KQ001', '成品仓1区', 200, 0.00, 'N', '', NULL, NULL, 0, 0, '', '2022-08-26 18:06:21', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for wm_transaction
-- ----------------------------
DROP TABLE IF EXISTS `wm_transaction`;
CREATE TABLE `wm_transaction` (
  `transaction_id` bigint NOT NULL AUTO_INCREMENT COMMENT '事务ID',
  `transaction_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '事务类型',
  `item_id` bigint NOT NULL COMMENT '产品物料ID',
  `item_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料编码',
  `item_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '产品物料名称',
  `specification` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '规格型号',
  `unit_of_measure` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
  `batch_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '入库批次号',
  `warehouse_id` bigint NOT NULL COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库名称',
  `location_id` bigint DEFAULT NULL COMMENT '库区ID',
  `location_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区编码',
  `location_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库区名称',
  `area_id` bigint DEFAULT NULL COMMENT '库位ID',
  `area_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位编码',
  `area_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '库位名称',
  `vendor_id` bigint DEFAULT NULL COMMENT '供应商ID',
  `vendor_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商编号',
  `vendor_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商名称',
  `vendor_nick` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商简称',
  `source_doc_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单据类型',
  `source_doc_id` bigint DEFAULT NULL COMMENT '单据ID',
  `source_doc_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单据编号',
  `source_doc_line_id` bigint DEFAULT NULL COMMENT '单据行ID',
  `material_stock_id` bigint NOT NULL COMMENT '库存记录ID',
  `transaction_flag` int DEFAULT '1' COMMENT '库存方向',
  `transaction_quantity` double(12,2) DEFAULT NULL COMMENT '事务数量',
  `transaction_date` datetime DEFAULT NULL COMMENT '事务日期',
  `related_transaction_id` bigint DEFAULT NULL COMMENT '关联的事务ID',
  `erp_date` datetime DEFAULT NULL COMMENT 'ERP账期',
  `expire_date` datetime DEFAULT NULL COMMENT '库存有效期',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`transaction_id`)
) ENGINE=InnoDB AUTO_INCREMENT=200 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='库存事务表';

-- ----------------------------
-- Table structure for wm_warehouse
-- ----------------------------
DROP TABLE IF EXISTS `wm_warehouse`;
CREATE TABLE `wm_warehouse` (
  `warehouse_id` bigint NOT NULL AUTO_INCREMENT COMMENT '仓库ID',
  `warehouse_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '仓库编码',
  `warehouse_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '仓库名称',
  `location` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '位置',
  `area` double(12,2) DEFAULT NULL COMMENT '面积',
  `charge` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  `attr1` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段1',
  `attr2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '预留字段2',
  `attr3` int DEFAULT '0' COMMENT '预留字段3',
  `attr4` int DEFAULT '0' COMMENT '预留字段4',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`warehouse_id`)
) ENGINE=InnoDB AUTO_INCREMENT=205 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='仓库表';

-- ----------------------------
-- Records of wm_warehouse
-- ----------------------------
BEGIN;
INSERT INTO `wm_warehouse` VALUES (200, 'CK001', '成品仓', '成品仓', 0.00, NULL, '', NULL, NULL, 0, 0, '', '2022-08-26 18:05:29', '', NULL);
INSERT INTO `wm_warehouse` VALUES (201, '001', '测试仓库', '位置', 100.00, '测试仓库负责人', '', NULL, NULL, 0, 0, '', '2022-08-30 17:13:28', '', '2022-08-31 10:44:56');
INSERT INTO `wm_warehouse` VALUES (202, '002', '测试仓库001', NULL, 100.00, '测试仓库负责人', '', NULL, NULL, 0, 0, '', '2022-08-30 17:14:07', '', NULL);
INSERT INTO `wm_warehouse` VALUES (203, 'M003', '测试仓库002', NULL, 110.00, '测试负责人', '', NULL, NULL, 0, 0, '', '2022-08-30 17:15:33', '', NULL);
INSERT INTO `wm_warehouse` VALUES (204, '004', '测试仓库004', NULL, 100.00, '测试负责人', '', NULL, NULL, 0, 0, '', '2022-08-30 17:20:40', '', NULL);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
